Module io.helidon.builder.codegen
Package io.helidon.builder.codegen
Class OptionAllowedValue.BuilderBase<BUILDER extends OptionAllowedValue.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends OptionAllowedValue>
java.lang.Object
io.helidon.builder.codegen.OptionAllowedValue.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:
OptionAllowedValue.Builder
- Enclosing interface:
OptionAllowedValue
public abstract static class OptionAllowedValue.BuilderBase<BUILDER extends OptionAllowedValue.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends OptionAllowedValue>
extends Object
implements Prototype.Builder<BUILDER,PROTOTYPE>
Fluent API builder base for
OptionAllowedValue.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDescription of this value.description(String description) Description of this value.from(OptionAllowedValue prototype) Update this builder from an existing prototype instance.from(OptionAllowedValue.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected voidHandles providers and decorators.toString()protected voidValidates required properties.value()Value, such as a string constant or enum value.Value, such as a string constant or enum value.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
-
value
Value, such as a string constant or enum value.- Parameters:
value- value that is allowed- Returns:
- updated builder instance
- See Also:
-
description
Description of this value.- Parameters:
description- value description- Returns:
- updated builder instance
- See Also:
-
value
Value, such as a string constant or enum value.- Returns:
- value that is allowed
-
description
Description of this value.- Returns:
- value description
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties.
-