Class ModuleInfoOpens.Builder
java.lang.Object
io.helidon.common.types.ModuleInfoOpens.BuilderBase<ModuleInfoOpens.Builder, ModuleInfoOpens>
io.helidon.common.types.ModuleInfoOpens.Builder
- All Implemented Interfaces:
Prototype.Builder<ModuleInfoOpens.Builder, ModuleInfoOpens>, Builder<ModuleInfoOpens.Builder, ModuleInfoOpens>, Supplier<ModuleInfoOpens>
- Enclosing interface:
ModuleInfoOpens
public static class ModuleInfoOpens.Builder
extends ModuleInfoOpens.BuilderBase<ModuleInfoOpens.Builder, ModuleInfoOpens>
implements Builder<ModuleInfoOpens.Builder, ModuleInfoOpens>
Fluent API builder for
ModuleInfoOpens.-
Nested Class Summary
Nested classes/interfaces inherited from class ModuleInfoOpens.BuilderBase
ModuleInfoOpens.BuilderBase.ModuleInfoOpensImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Methods inherited from class ModuleInfoOpens.BuilderBase
addTarget, addTargets, clearTargets, from, from, packageName, packageName, preBuildPrototype, targets, targets, toString, validatePrototypeModifier and TypeMethodDescriptionNames of target modules, empty if opened without qualification.addTargets(List<String> targets) Names of target modules, empty if opened without qualification.Clear all targets.from(ModuleInfoOpens prototype) Update this builder from an existing prototype instance.from(ModuleInfoOpens.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.Name of the opened package.packageName(String packageName) Name of the opened package.protected voidHandles providers and decorators.targets()Names of target modules, empty if opened without qualification.Names of target modules, empty if opened without qualification.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 ModuleInfoOpensget()default ModuleInfoOpens.Builderidentity()Instance of this builder as the correct type.default ModuleInfoOpens.Builderupdate(Consumer<ModuleInfoOpens.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault ModuleInfoOpens.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<ModuleInfoOpens.Builder, ModuleInfoOpens>- 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<ModuleInfoOpens.Builder, ModuleInfoOpens>- Returns:
- instance of the built type
-