Class EnvironmentTriggeringResultImpl
- java.lang.Object
-
- com.atlassian.bamboo.deployments.execution.triggering.EnvironmentTriggeringResultImpl
-
- All Implemented Interfaces:
EnvironmentTriggeringResult
,ExecutionRequestResult
public class EnvironmentTriggeringResultImpl extends Object implements EnvironmentTriggeringResult
-
-
Constructor Summary
Constructors Constructor Description EnvironmentTriggeringResultImpl()
EnvironmentTriggeringResultImpl(@NotNull ErrorCollection errorCollection, @Nullable DeploymentContext deploymentContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable DeploymentContext
getDeploymentContext()
TheDeploymentContext
produced by a successful execution of aEnvironmentTriggeringAction
@Nullable Long
getDeploymentResultId()
The id of the result of the executing Environment@NotNull ErrorCollection
getErrors()
Any errors that occurred during the execution request@Nullable PlanResultKey
getPlanResultKey()
ThePlanResultKey
of the executingPlan
-
-
-
Constructor Detail
-
EnvironmentTriggeringResultImpl
public EnvironmentTriggeringResultImpl()
-
EnvironmentTriggeringResultImpl
public EnvironmentTriggeringResultImpl(@NotNull @NotNull ErrorCollection errorCollection, @Nullable @Nullable DeploymentContext deploymentContext)
-
-
Method Detail
-
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
@Nullable public @Nullable 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
-
getDeploymentContext
@Nullable public @Nullable DeploymentContext 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
-
-