Module io.helidon.service.registry
Package io.helidon.service.registry
Class ActivationResult.BuilderBase.ActivationResultImpl
java.lang.Object
io.helidon.service.registry.ActivationResult.BuilderBase.ActivationResultImpl
- All Implemented Interfaces:
Prototype.Api,ActivationResult
- Enclosing class:
ActivationResult.BuilderBase<BUILDER extends ActivationResult.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ActivationResult>
protected static class ActivationResult.BuilderBase.ActivationResultImpl
extends Object
implements ActivationResult
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.service.registry.ActivationResult
ActivationResult.Builder, ActivationResult.BuilderBase<BUILDER extends ActivationResult.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ActivationResult> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedActivationResultImpl(ActivationResult.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbooleanerror()Any throwable/exceptions that were observed during activation.default booleanfailure()Returns true if this result was unsuccessful.The activation phase we finished successfully on, or are otherwise currently in if not yet finished.inthashCode()The activation phase that was found at onset of the phase transition.booleansuccess()Returns true if this result was successful.The activation phase that was requested at the onset of the phase transition.toString()
-
Constructor Details
-
ActivationResultImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
startingActivationPhase
Description copied from interface:ActivationResultThe activation phase that was found at onset of the phase transition.- Specified by:
startingActivationPhasein interfaceActivationResult- Returns:
- the starting phase
-
targetActivationPhase
Description copied from interface:ActivationResultThe activation phase that was requested at the onset of the phase transition.- Specified by:
targetActivationPhasein interfaceActivationResult- Returns:
- the target, desired, ultimate phase requested
-
finishingActivationPhase
Description copied from interface:ActivationResultThe activation phase we finished successfully on, or are otherwise currently in if not yet finished.- Specified by:
finishingActivationPhasein interfaceActivationResult- Returns:
- the finishing phase
-
error
Description copied from interface:ActivationResultAny throwable/exceptions that were observed during activation.- Specified by:
errorin interfaceActivationResult- Returns:
- any captured error
-
success
public boolean success()Description copied from interface:ActivationResultReturns true if this result was successful.- Specified by:
successin interfaceActivationResult- Returns:
- true if successful
-
toString
-
equals
-
hashCode
public int hashCode() -
failure
default boolean failure()Returns true if this result was unsuccessful.- Returns:
- true if unsuccessful
-