Class Aot.BuilderBase<BUILDER extends Aot.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends Aot>
java.lang.Object
io.helidon.common.features.metadata.Aot.BuilderBase<BUILDER,PROTOTYPE>
- Type Parameters:
BUILDER
- type of the builder extending this abstract builderPROTOTYPE
- type of the prototype interface that would be built byPrototype.Builder.buildPrototype()
- All Implemented Interfaces:
Prototype.Builder<BUILDER,
PROTOTYPE>
- Direct Known Subclasses:
Aot.Builder
- Enclosing interface:
Aot
public abstract static class Aot.BuilderBase<BUILDER extends Aot.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends Aot>
extends Object
implements Prototype.Builder<BUILDER,PROTOTYPE>
Fluent API builder base for
Aot
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
Generated implementation of the prototype, can be extended by descendant prototype implementations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClear existing value of this property.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 void
Handles providers and decorators.boolean
Whether this module supports AOT, defaults totrue
.supported
(boolean supported) Whether this module supports AOT, defaults totrue
.toString()
protected void
Validates required properties.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.helidon.builder.api.Prototype.Builder
buildPrototype, self
-
Constructor Details
-
BuilderBase
protected BuilderBase()Protected to support extensibility.
-
-
Method Details
-
from
Update this builder from an existing prototype instance. This method disables automatic service discovery.- Parameters:
prototype
- existing prototype to update this builder from- Returns:
- updated builder instance
-
from
Update this builder from an existing prototype builder instance.- Parameters:
builder
- existing builder prototype to update this builder from- Returns:
- updated builder instance
-
supported
Whether this module supports AOT, defaults totrue
.- Parameters:
supported
- is deprecated- Returns:
- updated builder instance
- See Also:
-
clearDescription
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
description
AOT description.- Parameters:
description
- description- Returns:
- updated builder instance
- See Also:
-
supported
public boolean supported()Whether this module supports AOT, defaults totrue
.- Returns:
- the supported
-
description
AOT description.- Returns:
- the description
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties.
-