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 BuildContextgetBuildContext()@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
-
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:ExecutionRequestResultThePlanResultKeyof the executingPlan- Specified by:
getPlanResultKeyin interfaceExecutionRequestResult- Returns:
- planResultKey or null if request failed
-
getBuildContext
@Nullable public @Nullable BuildContext getBuildContext()
- Specified by:
getBuildContextin interfaceBuildRequestResult- Returns:
- buildContext if the action succeeded else null
-
getErrors
@NotNull public @NotNull ErrorCollection getErrors()
Description copied from interface:ExecutionRequestResultAny errors that occurred during the execution request- Specified by:
getErrorsin interfaceExecutionRequestResult- Returns:
-
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
-
-