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 ChainStategetChainState()@Nullable LonggetDeploymentResultId()The id of the result of the executing Environment@NotNull ErrorCollectiongetErrors()Any errors that occurred during the execution requestPlanResultKeygetPlanResultKey()ThePlanResultKeyof the executingPlan
-
-
-
Constructor Detail
-
ChainStateCreationRequestResultImpl
public ChainStateCreationRequestResultImpl(@NotNull @NotNull ErrorCollection errors, ChainState chainState)
-
-
Method Detail
-
getChainState
public ChainState getChainState()
- Specified by:
getChainStatein interfaceChainStateCreationRequestResult
-
getErrors
@NotNull public @NotNull ErrorCollection getErrors()
Description copied from interface:ExecutionRequestResultAny errors that occurred during the execution request- Specified by:
getErrorsin interfaceExecutionRequestResult- Returns:
-
getPlanResultKey
public PlanResultKey getPlanResultKey()
Description copied from interface:ExecutionRequestResultThePlanResultKeyof the executingPlan- Specified by:
getPlanResultKeyin interfaceExecutionRequestResult- Returns:
- planResultKey or null if request failed
-
getDeploymentResultId
@Nullable public @Nullable Long getDeploymentResultId()
Description copied from interface:ExecutionRequestResultThe id of the result of the executing Environment- Specified by:
getDeploymentResultIdin interfaceExecutionRequestResult- Returns:
- if or null if request failed
-
-