Class PrototypeConfigured.Builder
java.lang.Object
io.helidon.builder.codegen.PrototypeConfigured.BuilderBase<PrototypeConfigured.Builder, PrototypeConfigured>
io.helidon.builder.codegen.PrototypeConfigured.Builder
- All Implemented Interfaces:
Prototype.Builder<PrototypeConfigured.Builder, PrototypeConfigured>, Builder<PrototypeConfigured.Builder, PrototypeConfigured>, Supplier<PrototypeConfigured>
- Enclosing interface:
PrototypeConfigured
public static class PrototypeConfigured.Builder
extends PrototypeConfigured.BuilderBase<PrototypeConfigured.Builder, PrototypeConfigured>
implements Builder<PrototypeConfigured.Builder, PrototypeConfigured>
Fluent API builder for
PrototypeConfigured.-
Nested Class Summary
Nested classes/interfaces inherited from class PrototypeConfigured.BuilderBase
PrototypeConfigured.BuilderBase.PrototypeConfiguredImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Methods inherited from class PrototypeConfigured.BuilderBase
clearKey, createAccessModifier, createAccessModifier, from, from, key, key, preBuildPrototype, root, root, toString, validatePrototypeModifier and TypeMethodDescriptionclearKey()Clear existing value of key.Access modifier.createAccessModifier(AccessModifier createAccessModifier) Access modifier.from(PrototypeConfigured prototype) Update this builder from an existing prototype instance.from(PrototypeConfigured.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.key()Key of this prototype's configuration.Key of this prototype's configuration.protected voidHandles providers and decorators.booleanroot()Whether the configuration is expected from the root of config tree.root(boolean root) Whether the configuration is expected from the root of config tree.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 PrototypeConfiguredget()default PrototypeConfigured.Builderidentity()Instance of this builder as the correct type.default PrototypeConfigured.Builderupdate(Consumer<PrototypeConfigured.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault PrototypeConfigured.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<PrototypeConfigured.Builder, PrototypeConfigured>- 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<PrototypeConfigured.Builder, PrototypeConfigured>- Returns:
- instance of the built type
-