Interface ReviewerProvider

All Superinterfaces:
Provider<Reviewer>
All Known Implementing Classes:
AutomaticReviewer, NoneReviewer

@NullMarked public interface ReviewerProvider extends Provider<Reviewer>
Specialized Provider for Reviewer implementations.

This interface pre-defines the type() method, so implementations only need to provide Provider.alias().

  • Method Summary

    Modifier and Type
    Method
    Description
    default Class<Reviewer>
    Returns the type of component this provider creates.

    Methods inherited from interface org.approvej.configuration.Provider

    alias, create
  • Method Details

    • type

      default Class<Reviewer> type()
      Description copied from interface: Provider
      Returns the type of component this provider creates.

      Specialized sub-interfaces like PrintFormatProvider and ReviewerProvider provide default implementations for this method.

      Specified by:
      type in interface Provider<Reviewer>
      Returns:
      the component type class