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
ConstructorsModifierConstructorDescriptionprotected
ActivationResultImpl
(ActivationResult.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionboolean
error()
Any throwable/exceptions that were observed during activation.default boolean
failure()
Returns true if this result was unsuccessful.The activation phase we finished successfully on, or are otherwise currently in if not yet finished.int
hashCode()
The activation phase that was found at onset of the phase transition.boolean
success()
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:ActivationResult
The activation phase that was found at onset of the phase transition.- Specified by:
startingActivationPhase
in interfaceActivationResult
- Returns:
- the starting phase
-
targetActivationPhase
Description copied from interface:ActivationResult
The activation phase that was requested at the onset of the phase transition.- Specified by:
targetActivationPhase
in interfaceActivationResult
- Returns:
- the target, desired, ultimate phase requested
-
finishingActivationPhase
Description copied from interface:ActivationResult
The activation phase we finished successfully on, or are otherwise currently in if not yet finished.- Specified by:
finishingActivationPhase
in interfaceActivationResult
- Returns:
- the finishing phase
-
error
Description copied from interface:ActivationResult
Any throwable/exceptions that were observed during activation.- Specified by:
error
in interfaceActivationResult
- Returns:
- any captured error
-
success
public boolean success()Description copied from interface:ActivationResult
Returns true if this result was successful.- Specified by:
success
in 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
-