Class OptionDeprecation.Builder
java.lang.Object
io.helidon.builder.codegen.OptionDeprecation.BuilderBase<OptionDeprecation.Builder, OptionDeprecation>
io.helidon.builder.codegen.OptionDeprecation.Builder
- All Implemented Interfaces:
Prototype.Builder<OptionDeprecation.Builder, OptionDeprecation>, Builder<OptionDeprecation.Builder, OptionDeprecation>, Supplier<OptionDeprecation>
- Enclosing interface:
OptionDeprecation
public static class OptionDeprecation.Builder
extends OptionDeprecation.BuilderBase<OptionDeprecation.Builder, OptionDeprecation>
implements Builder<OptionDeprecation.Builder, OptionDeprecation>
Fluent API builder for
OptionDeprecation.-
Nested Class Summary
Nested classes/interfaces inherited from class OptionDeprecation.BuilderBase
OptionDeprecation.BuilderBase.OptionDeprecationImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Methods inherited from class OptionDeprecation.BuilderBase
alternative, alternative, clearAlternative, clearSince, forRemoval, forRemoval, from, from, message, message, preBuildPrototype, since, since, toString, validatePrototypeModifier and TypeMethodDescriptionName of the option to use instead of this one.alternative(String alternative) Name of the option to use instead of this one.Clear existing value of alternative.Clear existing value of since.booleanIf this is scheduled for removal, defaults totrue.forRemoval(boolean forRemoval) If this is scheduled for removal, defaults totrue.from(OptionDeprecation prototype) Update this builder from an existing prototype instance.from(OptionDeprecation.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.message()Deprecation message.Deprecation message.protected voidHandles providers and decorators.since()Version that deprecated this option.Version that deprecated this option.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 OptionDeprecationget()default OptionDeprecation.Builderidentity()Instance of this builder as the correct type.default OptionDeprecation.Builderupdate(Consumer<OptionDeprecation.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault OptionDeprecation.Builderself()Instance of this builder as the correct type.
-
Method Details
-
buildPrototype
Description copied from interface:Prototype.BuilderCreate an instance of thePrototype. This method is available on all generated builders forPrototype.Blueprint.Calling this method may update the builder from providers and decorators, so repeated calls may have side effects such as repeated provider discovery.
- Specified by:
buildPrototypein interfacePrototype.Builder<OptionDeprecation.Builder, OptionDeprecation>- Returns:
- an instance of the setup object created from this builder
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<OptionDeprecation.Builder, OptionDeprecation>- Returns:
- instance of the built type
-