com.atlassian.bamboo.v2.build
Interface CurrentBuildResult

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CurrentBuildResultImpl

public interface CurrentBuildResult
extends java.io.Serializable

Interface that defines the partial output of a plan being built


Field Summary
static java.lang.String CBD_BUILD_TIME_STAMP
          Key name in custom build data
 
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()
           
 java.util.Collection<TestResults> getSuccessfulTestResults()
           
 boolean isCheckoutSuccess()
           
 boolean isStarted()
           
 void setBuildReturnCode(int buildReturnCode)
           
 void setBuildState(BuildState buildState)
           
 void setCheckoutSuccess(boolean checkoutSuccess)
           
 void setLifeCycleState(LifeCycleState lifeCycleState)
           
 void setStarted(boolean started)
           
 void setTestResults(java.util.Set<TestResults> successfulTestResults, java.util.Set<TestResults> failedTestResults)
           
 

Field Detail

CBD_BUILD_TIME_STAMP

static final java.lang.String CBD_BUILD_TIME_STAMP
Key name in custom build data

See Also:
Constant Field Values
Method Detail

getBuildState

@NotNull
BuildState getBuildState()

setBuildState

void setBuildState(@NotNull
                   BuildState buildState)

getLifeCycleState

@NotNull
LifeCycleState getLifeCycleState()

setLifeCycleState

void setLifeCycleState(@NotNull
                       LifeCycleState lifeCycleState)

isStarted

boolean isStarted()

setStarted

void setStarted(boolean started)

getBuildReturnCode

int getBuildReturnCode()

setBuildReturnCode

void setBuildReturnCode(int buildReturnCode)

getCustomBuildData

@NotNull
java.util.Map<java.lang.String,java.lang.String> getCustomBuildData()
Returns a map of string keyed strings for storing arbitrary data

Returns:

addBuildErrors

void addBuildErrors(@Nullable
                    java.util.List<java.lang.String> errorMessages)

getBuildErrors

@NotNull
java.util.List<java.lang.String> getBuildErrors()

clearBuildErrors

void clearBuildErrors()

getFailedTestResults

@Nullable
java.util.Collection<TestResults> getFailedTestResults()

getSuccessfulTestResults

@Nullable
java.util.Collection<TestResults> getSuccessfulTestResults()

setTestResults

void setTestResults(java.util.Set<TestResults> successfulTestResults,
                    java.util.Set<TestResults> failedTestResults)

cloneAsBuildResults

BuildResults cloneAsBuildResults(BuildContext buildContext,
                                 ReasonForBuild reasonForBuild)

isCheckoutSuccess

boolean isCheckoutSuccess()

setCheckoutSuccess

void setCheckoutSuccess(boolean checkoutSuccess)


Copyright © 2010 Atlassian. All Rights Reserved.