Interface PrintFormatProvider<T>

Type Parameters:
T - the type of value the print format handles
All Superinterfaces:
Provider<PrintFormat<T>>
All Known Implementing Classes:
MultiLineStringPrintFormat, SingleLineStringPrintFormat

@NullMarked public interface PrintFormatProvider<T> extends Provider<PrintFormat<T>>
Specialized Provider for PrintFormat 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<PrintFormat<T>>
    Returns the type of component this provider creates.

    Methods inherited from interface org.approvej.configuration.Provider

    alias, create
  • Method Details

    • type

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

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

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