Package com.atlassian.bamboo.plan
Interface ExecutionRequestResult
- All Known Subinterfaces:
BuildRequestResult
,ChainExecutionRequestResult
,ChainStateCreationRequestResult
,EnvironmentTriggeringResult
- All Known Implementing Classes:
BuildRequestResultImpl
,ChainStateCreationRequestResultImpl
,EnvironmentTriggeringResultImpl
@PublicApi
public interface ExecutionRequestResult
Result for
PlanExecutionManager
requests-
Method Summary
Modifier and TypeMethodDescription@Nullable Long
The id of the result of the executing Environment@NotNull ErrorCollection
Any errors that occurred during the execution request@Nullable PlanResultKey
ThePlanResultKey
of the executingPlan
-
Method Details
-
getErrors
Any errors that occurred during the execution request- Returns:
-
getPlanResultKey
ThePlanResultKey
of the executingPlan
- Returns:
- planResultKey or null if request failed
- Throws:
UnsupportedOperationException
- if execution request came from Environment
-
getDeploymentResultId
The id of the result of the executing Environment- Returns:
- if or null if request failed
- Throws:
UnsupportedOperationException
- if execution request came fromPlan
-