接口 ComponentBuilder.Joiner
- 封闭类:
- ComponentBuilder
public static interface ComponentBuilder.Joiner
Functional interface to join additional components to a ComponentBuilder.
-
方法概要
修饰符和类型方法说明join
(ComponentBuilder componentBuilder, ComponentBuilder.FormatRetention retention) Joins additional components to the providedComponentBuilder
and then returns it to fulfill a chain pattern.
-
方法详细资料
-
join
ComponentBuilder join(ComponentBuilder componentBuilder, ComponentBuilder.FormatRetention retention) Joins additional components to the providedComponentBuilder
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.- 参数:
componentBuilder
- to which to append additional componentsretention
- the formatting to possibly retain- 返回:
- input componentBuilder for chaining
-