Module io.helidon.common.types
Package io.helidon.common.types
Class ModuleInfoExports.BuilderBase<BUILDER extends ModuleInfoExports.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends ModuleInfoExports>
java.lang.Object
io.helidon.common.types.ModuleInfoExports.BuilderBase<BUILDER,PROTOTYPE>
- Type Parameters:
BUILDER- type of the builder extending this abstract builderPROTOTYPE- type of the prototype interface that would be built byPrototype.Builder.buildPrototype()
- All Implemented Interfaces:
Prototype.Builder<BUILDER,PROTOTYPE>
- Direct Known Subclasses:
ModuleInfoExports.Builder
- Enclosing interface:
ModuleInfoExports
public abstract static class ModuleInfoExports.BuilderBase<BUILDER extends ModuleInfoExports.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends ModuleInfoExports>
extends Object
implements Prototype.Builder<BUILDER,PROTOTYPE>
Fluent API builder base for
ModuleInfoExports.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionNames of target modules, empty if exported without qualification.addTargets(List<String> targets) Names of target modules, empty if exported without qualification.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.builder.api.Prototype.Builder
buildPrototype, self
-
Constructor Details
-
BuilderBase
protected BuilderBase()Protected to support extensibility.
-
-
Method Details
-
from
Update this builder from an existing prototype instance. This method disables automatic service discovery.- Parameters:
prototype- existing prototype to update this builder from- Returns:
- updated builder instance
-
from
Update this builder from an existing prototype builder instance.- Parameters:
builder- existing builder prototype to update this builder from- Returns:
- updated builder instance
-
packageName
Name of the exported package.- Parameters:
packageName- package name- Returns:
- updated builder instance
- See Also:
-
targets
Names of target modules, empty if exported without qualification.- Parameters:
targets- list of target modules- Returns:
- updated builder instance
- See Also:
-
addTargets
Names of target modules, empty if exported without qualification.- Parameters:
targets- list of target modules- Returns:
- updated builder instance
- See Also:
-
addTarget
Names of target modules, empty if exported without qualification.- Parameters:
target- list of target modules- Returns:
- updated builder instance
- See Also:
-
packageName
Name of the exported package.- Returns:
- the package name
-
targets
Names of target modules, empty if exported without qualification.- Returns:
- the targets
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties.
-