Class OptionBuilder.BuilderBase.OptionBuilderImpl
java.lang.Object
io.helidon.builder.codegen.OptionBuilder.BuilderBase.OptionBuilderImpl
- All Implemented Interfaces:
Prototype.Api, OptionBuilder
- Enclosing class:
OptionBuilder.BuilderBase<BUILDER extends OptionBuilder.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends OptionBuilder>
protected static class OptionBuilder.BuilderBase.OptionBuilderImpl
extends Object
implements OptionBuilder
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface OptionBuilder
OptionBuilder.Builder, OptionBuilder.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forOptionBuilder.static classOptionBuilder.BuilderBase<BUILDER extends OptionBuilder.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends OptionBuilder>Fluent API builder base forOptionBuilder. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOptionBuilderImpl(OptionBuilder.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionName of the static builder method, or<init>to identify a constructor should be used.Type of the class declaring aOptionBuilder.builderMethodName()used to get an instance of the builder to send to the generated setter with consumer.Type of the builder.Name of the build method (buildorbuildPrototype).booleaninthashCode()toString()
-
Constructor Details
-
OptionBuilderImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
builderMethodName
Description copied from interface:OptionBuilderName of the static builder method, or<init>to identify a constructor should be used. If a method name is defined, it is expected to be on the type of the option. If constructor is defined, it is expected to be an accessible constructor on theOptionBuilder.builderType().- Specified by:
builderMethodNamein interfaceOptionBuilder- Returns:
- name of the method
-
builderType
Description copied from interface:OptionBuilderType of the builder.- Specified by:
builderTypein interfaceOptionBuilder- Returns:
- type of the builder
-
builderMethodType
Description copied from interface:OptionBuilderType of the class declaring aOptionBuilder.builderMethodName()used to get an instance of the builder to send to the generated setter with consumer.- Specified by:
builderMethodTypein interfaceOptionBuilder- Returns:
- type declaring the builder method
-
buildMethodName
Description copied from interface:OptionBuilderName of the build method (buildorbuildPrototype).- Specified by:
buildMethodNamein interfaceOptionBuilder- Returns:
- builder build method name
-
toString
-
equals
-
hashCode
-