Class ModuleInfoRequires.Builder
java.lang.Object
io.helidon.common.types.ModuleInfoRequires.BuilderBase<ModuleInfoRequires.Builder, ModuleInfoRequires>
io.helidon.common.types.ModuleInfoRequires.Builder
- All Implemented Interfaces:
Prototype.Builder<ModuleInfoRequires.Builder, ModuleInfoRequires>, Builder<ModuleInfoRequires.Builder, ModuleInfoRequires>, Supplier<ModuleInfoRequires>
- Enclosing interface:
ModuleInfoRequires
public static class ModuleInfoRequires.Builder
extends ModuleInfoRequires.BuilderBase<ModuleInfoRequires.Builder, ModuleInfoRequires>
implements Builder<ModuleInfoRequires.Builder, ModuleInfoRequires>
Fluent API builder for
ModuleInfoRequires.-
Nested Class Summary
Nested classes/interfaces inherited from class ModuleInfoRequires.BuilderBase
ModuleInfoRequires.BuilderBase.ModuleInfoRequiresImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Methods inherited from class ModuleInfoRequires.BuilderBase
dependency, dependency, from, from, isStatic, isStatic, isTransitive, isTransitive, preBuildPrototype, toString, validatePrototypeModifier and TypeMethodDescriptionThe module we depend on.dependency(String dependency) The module we depend on.from(ModuleInfoRequires prototype) Update this builder from an existing prototype instance.from(ModuleInfoRequires.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.booleanisStatic()Whether this is arequires staticdeclaration.isStatic(boolean isStatic) Whether this is arequires staticdeclaration.booleanWhether this is arequires transitivedeclaration.isTransitive(boolean isTransitive) Whether this is arequires transitivedeclaration.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 ModuleInfoRequiresget()default ModuleInfoRequires.Builderidentity()Instance of this builder as the correct type.default ModuleInfoRequires.Builderupdate(Consumer<ModuleInfoRequires.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault ModuleInfoRequires.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<ModuleInfoRequires.Builder, ModuleInfoRequires>- 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<ModuleInfoRequires.Builder, ModuleInfoRequires>- Returns:
- instance of the built type
-