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 DeploymentContextgetDeploymentContext()TheDeploymentContextproduced by a successful execution of aEnvironmentTriggeringAction@Nullable LonggetDeploymentResultId()The id of the result of the executing Environment@NotNull ErrorCollectiongetErrors()Any errors that occurred during the execution request@Nullable PlanResultKeygetPlanResultKey()ThePlanResultKeyof 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:ExecutionRequestResultAny errors that occurred during the execution request- Specified by:
getErrorsin interfaceExecutionRequestResult- Returns:
-
getPlanResultKey
@Nullable public @Nullable 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
-
getDeploymentContext
@Nullable public @Nullable DeploymentContext getDeploymentContext()
Description copied from interface:EnvironmentTriggeringResultTheDeploymentContextproduced by a successful execution of aEnvironmentTriggeringAction- Specified by:
getDeploymentContextin interfaceEnvironmentTriggeringResult- Returns:
- buildContext or null if not available
-
-