Class Aot.Builder
java.lang.Object
io.helidon.common.features.metadata.Aot.BuilderBase<Aot.Builder, Aot>
io.helidon.common.features.metadata.Aot.Builder
- All Implemented Interfaces:
Prototype.Builder<Aot.Builder, Aot>, Builder<Aot.Builder, Aot>, Supplier<Aot>
- Enclosing interface:
Aot
public static class Aot.Builder
extends Aot.BuilderBase<Aot.Builder, Aot>
implements Builder<Aot.Builder, Aot>
Fluent API builder for
Aot.-
Nested Class Summary
Nested classes/interfaces inherited from class Aot.BuilderBase
Aot.BuilderBase.AotImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create an instance from this builder.Create an instance of the prototype.Methods inherited from class Aot.BuilderBase
clearDescription, description, description, from, from, preBuildPrototype, supported, supported, toString, validatePrototypeModifier and TypeMethodDescriptionClear existing value of description.AOT description.description(String description) AOT description.Update this builder from an existing prototype instance.from(Aot.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected voidHandles providers and decorators.booleanWhether this module supports AOT, defaults totrue.supported(boolean supported) Whether this module supports AOT, defaults totrue.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 Aotget()default Aot.Builderidentity()Instance of this builder as the correct type.default Aot.Builderupdate(Consumer<Aot.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault Aot.Builderself()Instance of this builder as the correct type.
-
Method Details
-
buildPrototype
Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildPrototypein interfacePrototype.Builder<Aot.Builder, Aot>- Returns:
- an instance of the setup object created from this builder
-
build
Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildin interfaceBuilder<Aot.Builder, Aot>- Returns:
- instance of the built type
-