Package com.atlassian.bamboo.build
Class BuildRequestResultImpl
java.lang.Object
com.atlassian.bamboo.build.BuildRequestResultImpl
- All Implemented Interfaces:
BuildRequestResult
,ExecutionRequestResult
-
Constructor Summary
ConstructorDescriptionBuildRequestResultImpl
(@NotNull ErrorCollection errors) BuildRequestResultImpl
(@Nullable BuildContext buildContext, @NotNull ErrorCollection errors) -
Method Summary
Modifier and TypeMethodDescription@Nullable BuildContext
@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
-
BuildRequestResultImpl
-
BuildRequestResultImpl
public BuildRequestResultImpl(@Nullable @Nullable BuildContext buildContext, @NotNull @NotNull ErrorCollection errors)
-
-
Method Details
-
getPlanResultKey
Description copied from interface:ExecutionRequestResult
ThePlanResultKey
of the executingPlan
- Specified by:
getPlanResultKey
in interfaceExecutionRequestResult
- Returns:
- planResultKey or null if request failed
-
getBuildContext
- Specified by:
getBuildContext
in interfaceBuildRequestResult
- Returns:
- buildContext if the action succeeded else null
-
getErrors
Description copied from interface:ExecutionRequestResult
Any errors that occurred during the execution request- Specified by:
getErrors
in interfaceExecutionRequestResult
- Returns:
-
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
-