com.atlassian.bamboo.build
Class BuildDetectionResultImpl

java.lang.Object
  extended by com.atlassian.bamboo.build.BuildDetectionResultImpl
All Implemented Interfaces:
BuildDetectionResult

public final class BuildDetectionResultImpl
extends java.lang.Object
implements BuildDetectionResult

Returned from a BuildDetectionAction


Constructor Summary
BuildDetectionResultImpl(ErrorCollection errorCollection, BuildContext buildContext)
           
 
Method Summary
 BuildContext getBuildContext()
          The BuildContext produced by a successful execution of a BuildDetectionAction
 ErrorCollection getErrorCollection()
          Any errors that may have happened when the execution of BuildDetectionAction failed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildDetectionResultImpl

public BuildDetectionResultImpl(ErrorCollection errorCollection,
                                BuildContext buildContext)
Method Detail

getErrorCollection

@NotNull
public ErrorCollection getErrorCollection()
Any errors that may have happened when the execution of BuildDetectionAction failed

Specified by:
getErrorCollection in interface BuildDetectionResult
Returns:
errorCollection

getBuildContext

@Nullable
public BuildContext getBuildContext()
The BuildContext produced by a successful execution of a BuildDetectionAction

Specified by:
getBuildContext in interface BuildDetectionResult
Returns:
buildContext or null if error


Copyright © 2011 Atlassian. All Rights Reserved.