java.lang.Object
io.helidon.pico.api.AbstractActivationResult
- All Implemented Interfaces:
ActivationResult
- Direct Known Subclasses:
DefaultActivationResult
@Generated(value="io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider",
comments="version=1")
public abstract class AbstractActivationResult
extends Object
implements ActivationResult
Abstract implementation w/ builder for
ActivationResult.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstractActivationResult.Builder<B extends AbstractActivationResult.Builder<B,T>, T extends ActivationResult> Fluent API builder forT. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor using the builder argument. -
Method Summary
Modifier and TypeMethodDescriptionThe map of meta attributes describing each element of this type.booleanerror()Any throwable/exceptions that were observed during activation.Optionally, given by the implementation provider to indicate the future completion when the provider'sActivationStatusisActivationStatus.WARNING_SUCCESS_BUT_NOT_READY.The activation phase we finished successfully on, or are otherwise currently in if not yet finished.How did the activation finish.inthashCode()Map<String,? extends InjectionPlan> The injection plan that was found or determined, key'ed by each element'sServiceProvider.id().The dependencies that were resolved or loaded, key'ed by each element'sServiceProvider.id().The service provider undergoing activation or deactivation.The activation phase that was found at onset of the phase transition.The activation phase that was requested at the onset of the phase transition.toString()protected StringProduces the inner portion of the toString() output (i.e., what is between the parens).<T> voidvisitAttributes(AttributeVisitor<T> visitor, T userDefinedCtx) Visits all attributes of io.helidon.pico.api.ActivationResult, calling theAttributeVisitorfor each.booleanSet to true if the injection plan inActivationResult.resolvedDependencies()has been resolved and can be "trusted" as being complete and accurate.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.pico.api.ActivationResult
failure, finished, success
-
Constructor Details
-
AbstractActivationResult
Constructor using the builder argument.- Parameters:
b- the builder
-
-
Method Details
-
serviceProvider
Description copied from interface:ActivationResultThe service provider undergoing activation or deactivation.- Specified by:
serviceProviderin interfaceActivationResult- Returns:
- the service provider generating the result
-
finishedActivationResult
Description copied from interface:ActivationResultOptionally, given by the implementation provider to indicate the future completion when the provider'sActivationStatusisActivationStatus.WARNING_SUCCESS_BUT_NOT_READY.- Specified by:
finishedActivationResultin interfaceActivationResult- Returns:
- the future result, assuming how activation can be async in nature
-
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
-
finishingStatus
Description copied from interface:ActivationResultHow did the activation finish. Will only be populated if the lifecycle event has completed - seeActivationResult.finishedActivationResult().- Specified by:
finishingStatusin interfaceActivationResult- Returns:
- the finishing status
-
injectionPlans
Description copied from interface:ActivationResultThe injection plan that was found or determined, key'ed by each element'sServiceProvider.id().- Specified by:
injectionPlansin interfaceActivationResult- Returns:
- the resolved injection plan map
-
resolvedDependencies
Description copied from interface:ActivationResultThe dependencies that were resolved or loaded, key'ed by each element'sServiceProvider.id().- Specified by:
resolvedDependenciesin interfaceActivationResult- Returns:
- the resolved dependency map
-
wasResolved
public boolean wasResolved()Description copied from interface:ActivationResultSet to true if the injection plan inActivationResult.resolvedDependencies()has been resolved and can be "trusted" as being complete and accurate.- Specified by:
wasResolvedin interfaceActivationResult- Returns:
- true if was resolved
-
error
Description copied from interface:ActivationResultAny throwable/exceptions that were observed during activation.- Specified by:
errorin interfaceActivationResult- Returns:
- any captured error
-
__metaAttributes
The map of meta attributes describing each element of this type.- Returns:
- the map of meta attributes using the key being the attribute name
-
toString
-
toStringInner
Produces the inner portion of the toString() output (i.e., what is between the parens).- Returns:
- portion of the toString output
-
hashCode
public int hashCode() -
equals
-
visitAttributes
Visits all attributes of io.helidon.pico.api.ActivationResult, calling theAttributeVisitorfor each.- Type Parameters:
T- type of the user defined context- Parameters:
visitor- the visitor called for each attributeuserDefinedCtx- any object you wish to pass to each visit call
-