com.atlassian.bamboo.results
Interface BuildResults

All Superinterfaces:
ExtraBuildResultsData
All Known Implementing Classes:
BuildResultsImpl

Deprecated. since 2.6 use BuildResultsSummary instead. Only use if test results are required.

@Deprecated
public interface BuildResults
extends ExtraBuildResultsData

This class has been deprecated and may be removed in 3.0


Method Summary
 void addBuildErrors(List<String> errorMessages)
          Deprecated.  
 void clearBuildErrors()
          Deprecated.  
 BuildResults cloneAsBuildResults(BuildContext buildContext, ReasonForBuild reasonForBuild)
          Deprecated.  
 boolean equals(Object o)
          Deprecated.  
 BuildChanges getBuildChanges()
          Deprecated.  
 Date getBuildCompletedTimeStamp()
          Deprecated.  
 long getBuildDurationInMilliseconds()
          Deprecated.  
 String getBuildKey()
          Deprecated.  
 int getBuildNumber()
          Deprecated.  
 String getBuildResultsKey()
          Deprecated.  
 BuildState getBuildState()
          Deprecated.  
 long getBuildTime()
          Deprecated.  
 Map<String,String> getCustomBuildData()
          Deprecated. replaced by custom data stored in #getBuildResultsSummary()
 String getFullKey()
          Deprecated.  
 String getPrettyBuildTime()
          Deprecated.  
 ReasonForBuild getReasonForBuild()
          Deprecated.  
 Date getStartTime()
          Deprecated. When was the build was started
 org.apache.commons.lang.time.StopWatch getStopWatch()
          Deprecated.  
 List<TestResults> getSuccessfulTestResults()
          Deprecated.  
 Map<Long,TestResults> getSuccessfulTestResultsMap()
          Deprecated. Get map of all successful test results.
 TestResultsSummary getTestResults()
          Deprecated. since 2.6
 boolean isCurrentlyQueuedOnly()
          Deprecated.  
 void setBuildChanges(BuildChanges buildChanges)
          Deprecated.  
 void setBuildKey(String buildKey)
          Deprecated.  
 void setBuildNumber(int buildNumber)
          Deprecated.  
 void setBuildReturnCode(int buildReturnCode)
          Deprecated.  
 void setBuildState(BuildState buildState)
          Deprecated.  
 void setCustomBuildData(Map<String,String> customBuildData)
          Deprecated.  
 void setDurationInMilliseconds(long buildDuration)
          Deprecated.  
 void setPlanManager(PlanManager planManager)
          Deprecated.  
 void setReasonForBuild(ReasonForBuild reasonForBuild)
          Deprecated.  
 void setStartTime(Date date)
          Deprecated.  
 void setSuccessfulTestResults(List<TestResults> mySuccessfulTestResults)
          Deprecated.  
 
Methods inherited from interface com.atlassian.bamboo.results.ExtraBuildResultsData
getBuildErrors, getBuildReturnCode
 

Method Detail

getBuildKey

String getBuildKey()
Deprecated. 

getFullKey

String getFullKey()
Deprecated. 

getBuildCompletedTimeStamp

Date getBuildCompletedTimeStamp()
Deprecated. 

setDurationInMilliseconds

void setDurationInMilliseconds(long buildDuration)
Deprecated. 

getBuildDurationInMilliseconds

long getBuildDurationInMilliseconds()
Deprecated. 

setBuildNumber

void setBuildNumber(int buildNumber)
Deprecated. 

getBuildNumber

int getBuildNumber()
Deprecated. 

getReasonForBuild

ReasonForBuild getReasonForBuild()
Deprecated. 

setReasonForBuild

void setReasonForBuild(ReasonForBuild reasonForBuild)
Deprecated. 

equals

boolean equals(Object o)
Deprecated. 
Overrides:
equals in class Object

getTestResults

@Deprecated
TestResultsSummary getTestResults()
Deprecated. since 2.6


setBuildKey

void setBuildKey(String buildKey)
Deprecated. 

isCurrentlyQueuedOnly

boolean isCurrentlyQueuedOnly()
Deprecated. 

getStopWatch

org.apache.commons.lang.time.StopWatch getStopWatch()
Deprecated. 

getBuildTime

long getBuildTime()
Deprecated. 

getPrettyBuildTime

String getPrettyBuildTime()
Deprecated. 

setPlanManager

void setPlanManager(PlanManager planManager)
Deprecated. 

getBuildResultsKey

String getBuildResultsKey()
Deprecated. 

getBuildChanges

BuildChanges getBuildChanges()
Deprecated. 

setBuildChanges

void setBuildChanges(BuildChanges buildChanges)
Deprecated. 

getBuildState

@NotNull
BuildState getBuildState()
Deprecated. 

setBuildState

void setBuildState(@NotNull
                   BuildState buildState)
Deprecated. 

setBuildReturnCode

void setBuildReturnCode(int buildReturnCode)
Deprecated. 

getCustomBuildData

@Deprecated
@NotNull
Map<String,String> getCustomBuildData()
Deprecated. replaced by custom data stored in #getBuildResultsSummary()

Returns a map of string keyed strings for storing arbitrary data

Returns:

addBuildErrors

void addBuildErrors(@Nullable
                    List<String> errorMessages)
Deprecated. 

clearBuildErrors

void clearBuildErrors()
Deprecated. 

cloneAsBuildResults

BuildResults cloneAsBuildResults(BuildContext buildContext,
                                 ReasonForBuild reasonForBuild)
Deprecated. 

getStartTime

@Nullable
Date getStartTime()
Deprecated. 
When was the build was started

Returns:
Date - when this CurrentBuildResult was generated

setStartTime

void setStartTime(Date date)
Deprecated. 

setCustomBuildData

void setCustomBuildData(Map<String,String> customBuildData)
Deprecated. 

setSuccessfulTestResults

void setSuccessfulTestResults(List<TestResults> mySuccessfulTestResults)
Deprecated. 

getSuccessfulTestResults

@NotNull
List<TestResults> getSuccessfulTestResults()
Deprecated. 

getSuccessfulTestResultsMap

@NotNull
Map<Long,TestResults> getSuccessfulTestResultsMap()
Deprecated. 
Get map of all successful test results. Test case id is map key.

Returns:
map of id to test result, empty if there are none.


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.