com.atlassian.bamboo.v2.build
Class CurrentBuildResultImpl
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CurrentBuildResultImpl
public CurrentBuildResultImpl()
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.