public static interface ComponentBuilder.JoinerFunctional interface to join additional components to a ComponentBuilder.
ComponentBuilder join(ComponentBuilder componentBuilder, ComponentBuilder.FormatRetention retention)Joins additional components to the provided
ComponentBuilderand 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.
componentBuilder- to which to append additional components
retention- the formatting to possibly retain
- input componentBuilder for chaining