Interface ComponentBuilder<C>

Type Parameters:
C - The component to be built.
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ComponentBuilder<C>
Functional interface describing how to build a component of type C using the Configuration during construction.
Since:
5.0.0
Author:
Steven van Beelen
  • Method Summary

    Modifier and Type
    Method
    Description
    Builds a component of type C using the given config during construction.
  • Method Details

    • build

      C build(@Nonnull Configuration config)
      Builds a component of type C using the given config during construction.
      Parameters:
      config - The configuration from which other components can be retrieved to build the result.
      Returns:
      A component of type C using the given config during construction.