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 java.lang.Object
implements BuildRequestResult


Constructor Summary
BuildRequestResultImpl(BuildContext buildContext, ErrorCollection errors)
           
BuildRequestResultImpl(ErrorCollection errors)
           
 
Method Summary
 BuildContext getBuildContext()
           
 ErrorCollection getErrors()
          Any errors that occured 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 occured during the execution request

Specified by:
getErrors in interface ExecutionRequestResult
Returns:


Copyright © 2010 Atlassian. All Rights Reserved.