Package com.atlassian.bamboo.results
Interface BuildResults
-
- All Superinterfaces:
ExtraBuildResultsData
- All Known Implementing Classes:
BuildResultsImpl
@Deprecated public interface BuildResults extends ExtraBuildResultsData
Deprecated.since 2.6 useBuildResultsSummaryinstead. Only use if test results are required.This class has been deprecated and may be removed in 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaddBuildErrors(@Nullable List<String> errorMessages)Deprecated.voidclearBuildErrors()Deprecated.BuildResultscloneAsBuildResults(BuildContext buildContext, ReasonForBuild reasonForBuild)Deprecated.booleanequals(Object o)Deprecated.BuildChangesgetBuildChanges()Deprecated.@NotNull DategetBuildCompletedTimeStamp()Deprecated.longgetBuildDurationInMilliseconds()Deprecated.StringgetBuildKey()Deprecated.intgetBuildNumber()Deprecated.StringgetBuildResultsKey()Deprecated.@NotNull BuildStategetBuildState()Deprecated.@NotNull Map<String,String>getCustomBuildData()Deprecated.replaced by custom data stored inBuildResultsSummaryStringgetFullKey()Deprecated.ReasonForBuildgetReasonForBuild()Deprecated.@Nullable DategetStartTime()Deprecated.When was the build was started@NotNull List<TestResults>getSuccessfulTestResults()Deprecated.@NotNull Map<Long,TestResults>getSuccessfulTestResultsMap()Deprecated.Get map of all successful test results.booleanisCurrentlyQueuedOnly()Deprecated.voidsetBuildChanges(BuildChanges buildChanges)Deprecated.voidsetBuildKey(String buildKey)Deprecated.voidsetBuildNumber(int buildNumber)Deprecated.voidsetBuildReturnCode(int buildReturnCode)Deprecated.voidsetBuildState(@NotNull BuildState buildState)Deprecated.voidsetCustomBuildData(Map<String,String> customBuildData)Deprecated.voidsetDurationInMilliseconds(long buildDuration)Deprecated.voidsetReasonForBuild(ReasonForBuild reasonForBuild)Deprecated.voidsetStartTime(Date date)Deprecated.voidsetSuccessfulTestResults(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
@NotNull @NotNull 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.
-
setBuildKey
void setBuildKey(String buildKey)
Deprecated.
-
isCurrentlyQueuedOnly
boolean isCurrentlyQueuedOnly()
Deprecated.
-
getBuildResultsKey
String getBuildResultsKey()
Deprecated.
-
getBuildChanges
BuildChanges getBuildChanges()
Deprecated.
-
setBuildChanges
void setBuildChanges(BuildChanges buildChanges)
Deprecated.
-
getBuildState
@NotNull @NotNull BuildState getBuildState()
Deprecated.
-
setBuildState
void setBuildState(@NotNull @NotNull BuildState buildState)Deprecated.
-
setBuildReturnCode
void setBuildReturnCode(int buildReturnCode)
Deprecated.
-
getCustomBuildData
@Deprecated @NotNull @NotNull Map<String,String> getCustomBuildData()
Deprecated.replaced by custom data stored inBuildResultsSummaryReturns a map of string keyed strings for storing arbitrary data- Returns:
-
clearBuildErrors
void clearBuildErrors()
Deprecated.
-
cloneAsBuildResults
BuildResults cloneAsBuildResults(BuildContext buildContext, ReasonForBuild reasonForBuild)
Deprecated.
-
getStartTime
@Nullable @Nullable Date getStartTime()
Deprecated.When was the build was started- Returns:
- Date - when this CurrentBuildResult was generated
-
setStartTime
void setStartTime(Date date)
Deprecated.
-
setSuccessfulTestResults
void setSuccessfulTestResults(List<TestResults> mySuccessfulTestResults)
Deprecated.
-
getSuccessfulTestResults
@NotNull @NotNull List<TestResults> getSuccessfulTestResults()
Deprecated.
-
getSuccessfulTestResultsMap
@NotNull @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.
-
-