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