Interface Builder<T>
public interface Builder<T>
Builder. Validates and constructs a configuration bean
- Since:
- 5.2
- Author:
- Tristan Tarrant
-
Method Summary
Modifier and TypeMethodDescriptioncreate()Create the configuration beandefault Builder<?> Builder<?> Reads the configuration from an already created configuration bean into this builder.default voidreset()default voidvalidate()Validate the data in this builder before building the configuration bean
-
Method Details
-
reset
default void reset() -
validate
default void validate()Validate the data in this builder before building the configuration bean -
create
-
read
Reads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Parameters:
template- the configuration from which to "clone" this config if needed.combine- the way attributes and children of this instance and the template should be combined.
-
read
-
attributes
AttributeSet attributes()
-