Class ActivationRequest.Builder
java.lang.Object
io.helidon.service.registry.ActivationRequest.BuilderBase<ActivationRequest.Builder, ActivationRequest>
io.helidon.service.registry.ActivationRequest.Builder
- All Implemented Interfaces:
Prototype.Builder<ActivationRequest.Builder, ActivationRequest>, Builder<ActivationRequest.Builder, ActivationRequest>, Supplier<ActivationRequest>
- Enclosing interface:
ActivationRequest
public static class ActivationRequest.Builder
extends ActivationRequest.BuilderBase<ActivationRequest.Builder, ActivationRequest>
implements Builder<ActivationRequest.Builder, ActivationRequest>
Fluent API builder for
ActivationRequest.-
Nested Class Summary
Nested classes/interfaces inherited from class ActivationRequest.BuilderBase
ActivationRequest.BuilderBase.ActivationRequestImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create an instance from this builder.Create an instance of the prototype.Methods inherited from class ActivationRequest.BuilderBase
clearStartingPhase, from, from, preBuildPrototype, startingPhase, startingPhase, targetPhase, targetPhase, throwIfError, throwIfError, toString, validatePrototypeModifier and TypeMethodDescriptionClear existing value of startingPhase.from(ActivationRequest prototype) Update this builder from an existing prototype instance.from(ActivationRequest.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected voidHandles providers and decorators.The phase to start activation.startingPhase(ActivationPhase startingPhase) The phase to start activation.Ultimate target phase for activation.targetPhase(ActivationPhase 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault ActivationRequestget()default ActivationRequest.Builderidentity()Instance of this builder as the correct type.default ActivationRequest.Builderupdate(Consumer<ActivationRequest.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault ActivationRequest.Builderself()Instance of this builder as the correct type.
-
Method Details
-
buildPrototype
Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildPrototypein interfacePrototype.Builder<ActivationRequest.Builder, ActivationRequest>- Returns:
- an instance of the setup object created from this builder
-
build
Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildin interfaceBuilder<ActivationRequest.Builder, ActivationRequest>- Returns:
- instance of the built type
-