Module io.helidon.inject.api
Package io.helidon.inject.api
Class InternalBootstrap.BuilderBase<BUILDER extends InternalBootstrap.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends InternalBootstrap>
java.lang.Object
io.helidon.inject.api.InternalBootstrap.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:
InternalBootstrap.Builder
- Enclosing interface:
InternalBootstrap
public abstract static class InternalBootstrap.BuilderBase<BUILDER extends InternalBootstrap.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends InternalBootstrap>
extends Object
implements Prototype.Builder<BUILDER,PROTOTYPE>
Fluent API builder base for
InternalBootstrap.-
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 TypeMethodDescriptionThe user established bootstrap.The user established bootstrap.bootStrap(Consumer<Bootstrap.Builder> consumer) The user established bootstrap.Only populated whenInjectionServices.TAG_DEBUGis set.callingContext(CallingContext callingContext) Only populated whenInjectionServices.TAG_DEBUGis set.callingContext(Consumer<CallingContext.Builder> consumer) Only populated whenInjectionServices.TAG_DEBUGis set.Clear existing value of this property.Clear existing value of this property.from(InternalBootstrap prototype) Update this builder from an existing prototype instance.from(InternalBootstrap.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected voidHandles providers and decorators.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.- 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
-
clearBootStrap
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
bootStrap
The user established bootstrap.- Parameters:
bootStrap- user established bootstrap- Returns:
- updated builder instance
- See Also:
-
bootStrap
The user established bootstrap.- Parameters:
consumer- user established bootstrap- Returns:
- updated builder instance
- See Also:
-
clearCallingContext
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
callingContext
Only populated whenInjectionServices.TAG_DEBUGis set.- Parameters:
callingContext- the calling context- Returns:
- updated builder instance
- See Also:
-
callingContext
Only populated whenInjectionServices.TAG_DEBUGis set.- Parameters:
consumer- the calling context- Returns:
- updated builder instance
- See Also:
-
bootStrap
The user established bootstrap.- Returns:
- the boot strap
-
callingContext
Only populated whenInjectionServices.TAG_DEBUGis set.- Returns:
- the calling context
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties.
-