Class AbstractBuilder<R,T extends AbstractBuilder<?,T>>
java.lang.Object
com._1c.g5.aef2.standard.definitions.builders.AbstractBuilder<R,T>
- Type Parameters:
R
- the building object type.T
- the type of the builder.
- Direct Known Subclasses:
AbstractContainerDefinitionBuilder
,DtGranularEditorPageActionBuilder
,DtGranularEditorPageBuilder
,DtGranularEditorPageTwoColumnBuilder
,SetupDefinitionBuilder
The basic class for definition builders.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractBuilder
(Supplier<R> provider) Initializes a builder. -
Method Summary
-
Constructor Details
-
AbstractBuilder
Initializes a builder.- Parameters:
provider
- the provider of object to build, cannot benull
.
-
-
Method Details
-
apply
Applies the given action to object to build and returns the builder instance.- Parameters:
action
- the action to apply.- Returns:
- the builder instance.
-
build
Actually just returns the object that is building with the current state.- Returns:
- the built object.
-
self
Returns the self object.- Returns:
- the self object.
-