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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildRequestResultImpl
public BuildRequestResultImpl(@NotNull
ErrorCollection errors)
BuildRequestResultImpl
public BuildRequestResultImpl(@Nullable
BuildContext buildContext,
@NotNull
ErrorCollection errors)
getPlanResultKey
@Nullable
public PlanResultKey getPlanResultKey()
- Description copied from interface:
ExecutionRequestResult
- The
PlanResultKey
of the executing Plan
- Specified by:
getPlanResultKey
in interface ExecutionRequestResult
- Returns:
- planResultKey or null if request failed
getBuildContext
@Nullable
public BuildContext getBuildContext()
- Specified by:
getBuildContext
in interface BuildRequestResult
- Returns:
- buildContext if the action succeeded else null
getErrors
@NotNull
public ErrorCollection getErrors()
- Description copied from interface:
ExecutionRequestResult
- Any errors that occurred during the execution request
- Specified by:
getErrors
in interface ExecutionRequestResult
- Returns:
getDeploymentResultId
@Nullable
public Long getDeploymentResultId()
- Description copied from interface:
ExecutionRequestResult
- The id of the result of the executing
Environment
- Specified by:
getDeploymentResultId
in interface ExecutionRequestResult
- Returns:
- if or null if request failed
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.