Package com.atlassian.bamboo.build
Class BuildRequestResultImpl
- java.lang.Object
-
- com.atlassian.bamboo.build.BuildRequestResultImpl
-
- All Implemented Interfaces:
BuildRequestResult
,ExecutionRequestResult
public final class BuildRequestResultImpl extends Object implements BuildRequestResult
-
-
Constructor Summary
Constructors Constructor Description BuildRequestResultImpl(@NotNull ErrorCollection errors)
BuildRequestResultImpl(@Nullable BuildContext buildContext, @NotNull ErrorCollection errors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable BuildContext
getBuildContext()
@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
-
BuildRequestResultImpl
public BuildRequestResultImpl(@NotNull @NotNull ErrorCollection errors)
-
BuildRequestResultImpl
public BuildRequestResultImpl(@Nullable @Nullable BuildContext buildContext, @NotNull @NotNull ErrorCollection errors)
-
-
Method Detail
-
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
-
getBuildContext
@Nullable public @Nullable BuildContext getBuildContext()
- Specified by:
getBuildContext
in interfaceBuildRequestResult
- Returns:
- buildContext if the action succeeded else null
-
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:
-
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
-
-