com.atlassian.bamboo.v2.build
Class CurrentBuildResultImpl

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.CurrentBuildResultImpl
All Implemented Interfaces:
CurrentBuildResult, java.io.Serializable

public class CurrentBuildResultImpl
extends java.lang.Object
implements CurrentBuildResult, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
CurrentBuildResultImpl()
           
 
Method Summary
 void addBuildErrors(java.util.List<java.lang.String> errorMessages)
           
 void clearBuildErrors()
           
 BuildResults cloneAsBuildResults(BuildContext buildContext, ReasonForBuild reasonForBuild)
           
 java.util.List<java.lang.String> getBuildErrors()
           
 BuildManager getBuildManager()
           
 int getBuildReturnCode()
           
 BuildState getBuildState()
           
 java.util.Map<java.lang.String,java.lang.String> getCustomBuildData()
          Returns a map of string keyed strings for storing arbitrary data
 java.util.Collection<TestResults> getFailedTestResults()
           
 java.util.Collection<TestResults> getSuccessfulTestResults()
           
 boolean isStarted()
           
 void setBuildErrors(java.util.List<java.lang.String> buildErrors)
           
 void setBuildManager(BuildManager buildManager)
           
 void setBuildReturnCode(int buildReturnCode)
           
 void setBuildState(BuildState buildState)
           
 void setStarted(boolean started)
           
 void setTestResults(java.util.Set<TestResults> successfulTestResults, java.util.Set<TestResults> failedTestResults)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentBuildResultImpl

public CurrentBuildResultImpl()
Method Detail

getBuildState

@Nullable
public BuildState getBuildState()
Specified by:
getBuildState in interface CurrentBuildResult

setBuildState

public void setBuildState(@NotNull
                          BuildState buildState)
Specified by:
setBuildState in interface CurrentBuildResult

getCustomBuildData

@NotNull
public java.util.Map<java.lang.String,java.lang.String> getCustomBuildData()
Description copied from interface: CurrentBuildResult
Returns a map of string keyed strings for storing arbitrary data

Specified by:
getCustomBuildData in interface CurrentBuildResult
Returns:

isStarted

public boolean isStarted()
Specified by:
isStarted in interface CurrentBuildResult

setStarted

public void setStarted(boolean started)
Specified by:
setStarted in interface CurrentBuildResult

addBuildErrors

public void addBuildErrors(@Nullable
                           java.util.List<java.lang.String> errorMessages)
Specified by:
addBuildErrors in interface CurrentBuildResult

getBuildErrors

@NotNull
public java.util.List<java.lang.String> getBuildErrors()
Specified by:
getBuildErrors in interface CurrentBuildResult

setBuildErrors

public void setBuildErrors(@NotNull
                           java.util.List<java.lang.String> buildErrors)

clearBuildErrors

public void clearBuildErrors()
Specified by:
clearBuildErrors in interface CurrentBuildResult

getFailedTestResults

@Nullable
public java.util.Collection<TestResults> getFailedTestResults()
Specified by:
getFailedTestResults in interface CurrentBuildResult

getSuccessfulTestResults

@Nullable
public java.util.Collection<TestResults> getSuccessfulTestResults()
Specified by:
getSuccessfulTestResults in interface CurrentBuildResult

setTestResults

public void setTestResults(java.util.Set<TestResults> successfulTestResults,
                           java.util.Set<TestResults> failedTestResults)
Specified by:
setTestResults in interface CurrentBuildResult

cloneAsBuildResults

public BuildResults cloneAsBuildResults(BuildContext buildContext,
                                        ReasonForBuild reasonForBuild)
Specified by:
cloneAsBuildResults in interface CurrentBuildResult

getBuildReturnCode

public int getBuildReturnCode()
Specified by:
getBuildReturnCode in interface CurrentBuildResult

setBuildReturnCode

public void setBuildReturnCode(int buildReturnCode)
Specified by:
setBuildReturnCode in interface CurrentBuildResult

getBuildManager

public BuildManager getBuildManager()

setBuildManager

public void setBuildManager(BuildManager buildManager)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.