Class OptionSingular.Builder
java.lang.Object
io.helidon.builder.codegen.OptionSingular.BuilderBase<OptionSingular.Builder, OptionSingular>
io.helidon.builder.codegen.OptionSingular.Builder
- All Implemented Interfaces:
Prototype.Builder<OptionSingular.Builder, OptionSingular>, Builder<OptionSingular.Builder, OptionSingular>, Supplier<OptionSingular>
- Enclosing interface:
OptionSingular
public static class OptionSingular.Builder
extends OptionSingular.BuilderBase<OptionSingular.Builder, OptionSingular>
implements Builder<OptionSingular.Builder, OptionSingular>
Fluent API builder for
OptionSingular.-
Nested Class Summary
Nested classes/interfaces inherited from class OptionSingular.BuilderBase
OptionSingular.BuilderBase.OptionSingularImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Methods inherited from class OptionSingular.BuilderBase
from, from, methodName, methodName, name, name, preBuildPrototype, toString, validatePrototypeModifier and TypeMethodDescriptionfrom(OptionSingular prototype) Update this builder from an existing prototype instance.from(OptionSingular.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.Name of the singular setter method.methodName(String methodName) Name of the singular setter method.name()Singular form of the option name.Singular form of the option name.protected voidHandles providers and decorators.toString()protected voidValidates required properties.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault OptionSingularget()default OptionSingular.Builderidentity()Instance of this builder as the correct type.default OptionSingular.Builderupdate(Consumer<OptionSingular.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault OptionSingular.Builderself()Instance of this builder as the correct type.
-
Method Details
-
buildPrototype
Description copied from interface:Prototype.BuilderCreate an instance of thePrototype. This method is available on all generated builders forPrototype.Blueprint.Calling this method may update the builder from providers and decorators, so repeated calls may have side effects such as repeated provider discovery.
- Specified by:
buildPrototypein interfacePrototype.Builder<OptionSingular.Builder, OptionSingular>- Returns:
- an instance of the setup object created from this builder
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<OptionSingular.Builder, OptionSingular>- Returns:
- instance of the built type
-