Class RuntimeTypeInfo.Builder
java.lang.Object
io.helidon.builder.codegen.RuntimeTypeInfo.BuilderBase<RuntimeTypeInfo.Builder, RuntimeTypeInfo>
io.helidon.builder.codegen.RuntimeTypeInfo.Builder
- All Implemented Interfaces:
Prototype.Builder<RuntimeTypeInfo.Builder, RuntimeTypeInfo>, Builder<RuntimeTypeInfo.Builder, RuntimeTypeInfo>, Supplier<RuntimeTypeInfo>
- Enclosing interface:
RuntimeTypeInfo
public static class RuntimeTypeInfo.Builder
extends RuntimeTypeInfo.BuilderBase<RuntimeTypeInfo.Builder, RuntimeTypeInfo>
implements Builder<RuntimeTypeInfo.Builder, RuntimeTypeInfo>
Fluent API builder for
RuntimeTypeInfo.-
Nested Class Summary
Nested classes/interfaces inherited from class RuntimeTypeInfo.BuilderBase
RuntimeTypeInfo.BuilderBase.RuntimeTypeInfoImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Methods inherited from class RuntimeTypeInfo.BuilderBase
clearFactoryMethod, factoryMethod, factoryMethod, factoryMethod, factoryMethod, from, from, optionBuilder, optionBuilder, optionBuilder, optionBuilder, preBuildPrototype, toString, validatePrototypeModifier and TypeMethodDescriptionClear existing value of factoryMethod.Factory method.factoryMethod(FactoryMethod factoryMethod) Factory method.factoryMethod(Consumer<FactoryMethod.Builder> consumer) Factory method.factoryMethod(Supplier<? extends FactoryMethod> supplier) Factory method.from(RuntimeTypeInfo prototype) Update this builder from an existing prototype instance.from(RuntimeTypeInfo.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.Builder information associated with this factory method.optionBuilder(OptionBuilder optionBuilder) Builder information associated with this factory method.optionBuilder(Consumer<OptionBuilder.Builder> consumer) Builder information associated with this factory method.optionBuilder(Supplier<? extends OptionBuilder> supplier) Builder information associated with this factory method.protected voidHandles providers and decorators.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 RuntimeTypeInfoget()default RuntimeTypeInfo.Builderidentity()Instance of this builder as the correct type.default RuntimeTypeInfo.Builderupdate(Consumer<RuntimeTypeInfo.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault RuntimeTypeInfo.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<RuntimeTypeInfo.Builder, RuntimeTypeInfo>- 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<RuntimeTypeInfo.Builder, RuntimeTypeInfo>- Returns:
- instance of the built type
-