Module io.helidon.inject.api
Package io.helidon.inject.api
Class ActivationRequest.BuilderBase<BUILDER extends ActivationRequest.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends ActivationRequest>
java.lang.Object
io.helidon.inject.api.ActivationRequest.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:
ActivationRequest.Builder
- Enclosing interface:
ActivationRequest
public abstract static class ActivationRequest.BuilderBase<BUILDER extends ActivationRequest.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends ActivationRequest>
extends Object
implements Prototype.Builder<BUILDER,PROTOTYPE>
Fluent API builder base for
ActivationRequest.-
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 TypeMethodDescriptionClear existing value of this property.Clear existing value of this property.from(ActivationRequest prototype) Update this builder from an existing prototype instance.from(ActivationRequest.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.Optionally, the injection point context information.injectionPoint(InjectionPointInfo injectionPoint) Optionally, the injection point context information.injectionPoint(Consumer<InjectionPointInfo.Builder> consumer) Optionally, the injection point context information.protected voidHandles providers and decorators.The phase to start activation.startingPhase(Phase startingPhase) The phase to start activation.Ultimate target phase for activation.targetPhase(Phase targetPhase) Ultimate target phase for activation.booleanWhether to throw an exception on failure to activate, or return an error activation result on activation.throwIfError(boolean throwIfError) Whether to throw an exception on failure to activate, or return an error activation result on activation.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
-
clearInjectionPoint
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
injectionPoint
Optionally, the injection point context information.- Parameters:
injectionPoint- injection point info- Returns:
- updated builder instance
- See Also:
-
injectionPoint
Optionally, the injection point context information.- Parameters:
consumer- injection point info- Returns:
- updated builder instance
- See Also:
-
clearStartingPhase
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
startingPhase
The phase to start activation. Typically, this should be left as the default (i.e., PENDING).- Parameters:
startingPhase- phase to start- Returns:
- updated builder instance
- See Also:
-
targetPhase
Ultimate target phase for activation.- Parameters:
targetPhase- phase to target- Returns:
- updated builder instance
- See Also:
-
throwIfError
Whether to throw an exception on failure to activate, or return an error activation result on activation.- Parameters:
throwIfError- whether to throw on failure- Returns:
- updated builder instance
- See Also:
-
injectionPoint
Optionally, the injection point context information.- Returns:
- the injection point
-
startingPhase
The phase to start activation. Typically, this should be left as the default (i.e., PENDING).- Returns:
- the starting phase
-
targetPhase
Ultimate target phase for activation.- Returns:
- the target phase
-
throwIfError
public boolean throwIfError()Whether to throw an exception on failure to activate, or return an error activation result on activation.- Returns:
- the throw if error
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties.
-