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

Field Summary
 
Fields inherited from interface com.atlassian.bamboo.v2.build.CurrentBuildResult
CBD_BUILD_TIME_STAMP
 
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()
           
 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()
           
 LifeCycleState getLifeCycleState()
           
 PlanManager getPlanManager()
           
 java.util.Collection<TestResults> getSuccessfulTestResults()
           
 boolean isCheckoutSuccess()
           
 boolean isStarted()
           
 void setBuildErrors(java.util.List<java.lang.String> buildErrors)
           
 void setBuildReturnCode(int buildReturnCode)
           
 void setBuildState(BuildState buildState)
           
 void setCheckoutSuccess(boolean checkoutSuccess)
           
 void setLifeCycleState(LifeCycleState lifeCycleState)
           
 void setPlanManager(PlanManager planManager)
           
 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

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

setBuildState

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

getLifeCycleState

@NotNull
public LifeCycleState getLifeCycleState()
Specified by:
getLifeCycleState in interface CurrentBuildResult

setLifeCycleState

public void setLifeCycleState(@NotNull
                              LifeCycleState lifeCycleState)
Specified by:
setLifeCycleState 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

isCheckoutSuccess

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

setCheckoutSuccess

public void setCheckoutSuccess(boolean checkoutSuccess)
Specified by:
setCheckoutSuccess in interface CurrentBuildResult

getPlanManager

public PlanManager getPlanManager()

setPlanManager

public void setPlanManager(PlanManager planManager)


Copyright © 2011 Atlassian. All Rights Reserved.