Class EnvironmentTriggeringResultImpl
java.lang.Object
com.atlassian.bamboo.deployments.execution.triggering.EnvironmentTriggeringResultImpl
- All Implemented Interfaces:
EnvironmentTriggeringResult
,ExecutionRequestResult
-
Constructor Summary
ConstructorDescriptionEnvironmentTriggeringResultImpl
(@NotNull ErrorCollection errorCollection, @Nullable DeploymentContext deploymentContext) -
Method Summary
Modifier and TypeMethodDescription@Nullable DeploymentContext
TheDeploymentContext
produced by a successful execution of aEnvironmentTriggeringAction
@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
-
Constructor Details
-
EnvironmentTriggeringResultImpl
public EnvironmentTriggeringResultImpl() -
EnvironmentTriggeringResultImpl
public EnvironmentTriggeringResultImpl(@NotNull @NotNull ErrorCollection errorCollection, @Nullable @Nullable DeploymentContext deploymentContext)
-
-
Method Details
-
getErrors
Description copied from interface:ExecutionRequestResult
Any errors that occurred during the execution request- Specified by:
getErrors
in interfaceExecutionRequestResult
- Returns:
-
getPlanResultKey
Description copied from interface:ExecutionRequestResult
ThePlanResultKey
of the executingPlan
- Specified by:
getPlanResultKey
in interfaceExecutionRequestResult
- Returns:
- planResultKey or null if request failed
-
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
-
getDeploymentContext
Description copied from interface:EnvironmentTriggeringResult
TheDeploymentContext
produced by a successful execution of aEnvironmentTriggeringAction
- Specified by:
getDeploymentContext
in interfaceEnvironmentTriggeringResult
- Returns:
- buildContext or null if not available
-