com.atlassian.bamboo.build
Class BuildRequestResultImpl

java.lang.Object
  extended by com.atlassian.bamboo.build.BuildRequestResultImpl
All Implemented Interfaces:
BuildRequestResult, ExecutionRequestResult

public final class BuildRequestResultImpl
extends Object
implements BuildRequestResult


Constructor Summary
BuildRequestResultImpl(BuildContext buildContext, ErrorCollection errors)
           
BuildRequestResultImpl(ErrorCollection errors)
           
 
Method Summary
 BuildContext getBuildContext()
           
 Long getDeploymentResultId()
          The id of the result of the executing Environment
 ErrorCollection getErrors()
          Any errors that occurred during the execution request
 PlanResultKey getPlanResultKey()
          The PlanResultKey of the executing Plan
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildRequestResultImpl

public BuildRequestResultImpl(@NotNull
                              ErrorCollection errors)

BuildRequestResultImpl

public BuildRequestResultImpl(@Nullable
                              BuildContext buildContext,
                              @NotNull
                              ErrorCollection errors)
Method Detail

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.