Interface ComponentBuilder.Joiner

Enclosing class:
ComponentBuilder

public static interface ComponentBuilder.Joiner
Functional interface to join additional components to a ComponentBuilder.
  • Method Details

    • join

      Joins additional components to the provided ComponentBuilder and then returns it to fulfill a chain pattern. Retention may be ignored and is to be understood as an optional recommendation to the Joiner and not as a guarantee to have a previous component in builder unmodified.
      Parameters:
      componentBuilder - to which to append additional components
      retention - the formatting to possibly retain
      Returns:
      input componentBuilder for chaining