Package com.atlassian.bamboo.chains
Class ChainStateCreationRequestResultImpl
- java.lang.Object
-
- com.atlassian.bamboo.chains.ChainStateCreationRequestResultImpl
-
- All Implemented Interfaces:
ChainStateCreationRequestResult
,ExecutionRequestResult
public class ChainStateCreationRequestResultImpl extends Object implements ChainStateCreationRequestResult
-
-
Constructor Summary
Constructors Constructor Description ChainStateCreationRequestResultImpl(@NotNull ErrorCollection errors, ChainState chainState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChainState
getChainState()
@Nullable Long
getDeploymentResultId()
The id of the result of the executing Environment@NotNull ErrorCollection
getErrors()
Any errors that occurred during the execution requestPlanResultKey
getPlanResultKey()
ThePlanResultKey
of the executingPlan
-
-
-
Constructor Detail
-
ChainStateCreationRequestResultImpl
public ChainStateCreationRequestResultImpl(@NotNull @NotNull ErrorCollection errors, ChainState chainState)
-
-
Method Detail
-
getChainState
public ChainState getChainState()
- Specified by:
getChainState
in interfaceChainStateCreationRequestResult
-
getErrors
@NotNull public @NotNull ErrorCollection getErrors()
Description copied from interface:ExecutionRequestResult
Any errors that occurred during the execution request- Specified by:
getErrors
in interfaceExecutionRequestResult
- Returns:
-
getPlanResultKey
public PlanResultKey getPlanResultKey()
Description copied from interface:ExecutionRequestResult
ThePlanResultKey
of the executingPlan
- Specified by:
getPlanResultKey
in interfaceExecutionRequestResult
- Returns:
- planResultKey or null if request failed
-
getDeploymentResultId
@Nullable public @Nullable Long getDeploymentResultId()
Description copied from interface:ExecutionRequestResult
The id of the result of the executing Environment- Specified by:
getDeploymentResultId
in interfaceExecutionRequestResult
- Returns:
- if or null if request failed
-
-