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 useBuildResultsSummary
instead. 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 void
addBuildErrors(@Nullable List<String> errorMessages)
Deprecated.void
clearBuildErrors()
Deprecated.BuildResults
cloneAsBuildResults(BuildContext buildContext, ReasonForBuild reasonForBuild)
Deprecated.boolean
equals(Object o)
Deprecated.BuildChanges
getBuildChanges()
Deprecated.@NotNull Date
getBuildCompletedTimeStamp()
Deprecated.long
getBuildDurationInMilliseconds()
Deprecated.String
getBuildKey()
Deprecated.int
getBuildNumber()
Deprecated.String
getBuildResultsKey()
Deprecated.@NotNull BuildState
getBuildState()
Deprecated.@NotNull Map<String,String>
getCustomBuildData()
Deprecated.replaced by custom data stored inBuildResultsSummary
String
getFullKey()
Deprecated.ReasonForBuild
getReasonForBuild()
Deprecated.@Nullable Date
getStartTime()
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.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(@NotNull BuildState buildState)
Deprecated.void
setCustomBuildData(Map<String,String> customBuildData)
Deprecated.void
setDurationInMilliseconds(long buildDuration)
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
@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 inBuildResultsSummary
Returns 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.
-
-