Module io.helidon.builder.codegen
Package io.helidon.builder.codegen
Class OptionConfigured.BuilderBase.OptionConfiguredImpl
java.lang.Object
io.helidon.builder.codegen.OptionConfigured.BuilderBase.OptionConfiguredImpl
- All Implemented Interfaces:
Prototype.Api,OptionConfigured
- Enclosing class:
OptionConfigured.BuilderBase<BUILDER extends OptionConfigured.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends OptionConfigured>
protected static class OptionConfigured.BuilderBase.OptionConfiguredImpl
extends Object
implements OptionConfigured
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.builder.codegen.OptionConfigured
OptionConfigured.Builder, OptionConfigured.BuilderBase<BUILDER extends OptionConfigured.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends OptionConfigured> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOptionConfiguredImpl(OptionConfigured.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
-
Constructor Details
-
OptionConfiguredImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
configKey
Description copied from interface:OptionConfiguredConfig key to use.- Specified by:
configKeyin interfaceOptionConfigured- Returns:
- config key
-
merge
public boolean merge()Description copied from interface:OptionConfiguredWhether to merge the key with the current object.- Specified by:
mergein interfaceOptionConfigured- Returns:
- whether to merge, defaults to
false, i.e. this option will have its own key, namedOptionConfigured.configKey()
-
traverse
public boolean traverse()Description copied from interface:OptionConfiguredWhether to traverse the config node when creating a map.- Specified by:
traversein interfaceOptionConfigured- Returns:
- whether to traverse config, defaults to
true
-
factoryMethod
Description copied from interface:OptionConfiguredFactory method for this option. Factory method will be discovered fromPrototypeInfo.configFactories().- Specified by:
factoryMethodin interfaceOptionConfigured- Returns:
- config factory method if defined
-
toString
-
equals
-
hashCode
public int hashCode()
-