Interface Builder<P>
-
- Type Parameters:
P
- Product of builder
- All Superinterfaces:
CheckedBuilder<P,IllegalArgumentException>
,Mutable
,MutationBehaviour<Mutable>
@Deprecated(since="8.0.0", forRemoval=true) public interface Builder<P> extends CheckedBuilder<P,IllegalArgumentException>
Deprecated, for removal: This API element is subject to removal in a future version.This is an over-arching concept whosebuild()
method hides caller hierarchy. Users are advised to migrate away, either without a replacement interface, or with a proper domain-specific interface.Builder object which produces a product.- Author:
- Tony Tkacik <[email protected]>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description P
build()
Deprecated, for removal: This API element is subject to removal in a future version.Returns instance of the product.
-
-
-
Method Detail
-
build
P build()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CheckedBuilder
Returns instance of the product. Multiple calls to this method are not required to return same instance if the state of the builder has changed.- Specified by:
build
in interfaceCheckedBuilder<P,IllegalArgumentException>
- Returns:
- A newly-built instance
-
-