Class OptionConfigured.Builder
java.lang.Object
io.helidon.builder.codegen.OptionConfigured.BuilderBase<OptionConfigured.Builder, OptionConfigured>
io.helidon.builder.codegen.OptionConfigured.Builder
- All Implemented Interfaces:
Prototype.Builder<OptionConfigured.Builder, OptionConfigured>, Builder<OptionConfigured.Builder, OptionConfigured>, Supplier<OptionConfigured>
- Enclosing interface:
OptionConfigured
public static class OptionConfigured.Builder
extends OptionConfigured.BuilderBase<OptionConfigured.Builder, OptionConfigured>
implements Builder<OptionConfigured.Builder, OptionConfigured>
Fluent API builder for
OptionConfigured.-
Nested Class Summary
Nested classes/interfaces inherited from class OptionConfigured.BuilderBase
OptionConfigured.BuilderBase.OptionConfiguredImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Methods inherited from class OptionConfigured.BuilderBase
clearFactoryMethod, configKey, configKey, factoryMethod, factoryMethod, factoryMethod, factoryMethod, from, from, merge, merge, preBuildPrototype, toString, traverse, traverse, validatePrototypeModifier and TypeMethodDescriptionClear existing value of factoryMethod.Config key to use.Config key to use.Factory method for this option.factoryMethod(FactoryMethod factoryMethod) Factory method for this option.factoryMethod(Consumer<FactoryMethod.Builder> consumer) Factory method for this option.factoryMethod(Supplier<? extends FactoryMethod> supplier) Factory method for this option.from(OptionConfigured prototype) Update this builder from an existing prototype instance.from(OptionConfigured.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.booleanmerge()Whether to merge the key with the current object.merge(boolean merge) Whether to merge the key with the current object.protected voidHandles providers and decorators.toString()booleantraverse()Whether to traverse the config node when creating a map.traverse(boolean traverse) Whether to traverse the config node when creating a map.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 OptionConfiguredget()default OptionConfigured.Builderidentity()Instance of this builder as the correct type.default OptionConfigured.Builderupdate(Consumer<OptionConfigured.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault OptionConfigured.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<OptionConfigured.Builder, OptionConfigured>- 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<OptionConfigured.Builder, OptionConfigured>- Returns:
- instance of the built type
-