Package com.atlassian.bamboo.results
Interface BuildResults
- All Superinterfaces:
ExtraBuildResultsData
- All Known Implementing Classes:
BuildResultsImpl
Deprecated.
This class has been deprecated and may be removed in 3.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBuildErrors
(@Nullable List<String> errorMessages) Deprecated.void
Deprecated.cloneAsBuildResults
(BuildContext buildContext, ReasonForBuild reasonForBuild) Deprecated.boolean
Deprecated.Deprecated.@NotNull Date
Deprecated.long
Deprecated.Deprecated.int
Deprecated.Deprecated.@NotNull BuildState
Deprecated.Deprecated.replaced by custom data stored inBuildResultsSummary
Deprecated.Deprecated.@Nullable Date
Deprecated.When was the build was started@NotNull List<TestResults>
Deprecated.@NotNull Map<Long,
TestResults> Deprecated.Get map of all successful test results.boolean
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 Details
-
getBuildKey
String getBuildKey()Deprecated. -
getFullKey
String getFullKey()Deprecated. -
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
Deprecated. -
equals
Deprecated. -
setBuildKey
Deprecated. -
isCurrentlyQueuedOnly
boolean isCurrentlyQueuedOnly()Deprecated. -
getBuildResultsKey
String getBuildResultsKey()Deprecated. -
getBuildChanges
BuildChanges getBuildChanges()Deprecated. -
setBuildChanges
Deprecated. -
getBuildState
Deprecated. -
setBuildState
Deprecated. -
setBuildReturnCode
void setBuildReturnCode(int buildReturnCode) Deprecated. -
getCustomBuildData
Deprecated.replaced by custom data stored inBuildResultsSummary
Returns a map of string keyed strings for storing arbitrary data- Returns:
-
addBuildErrors
Deprecated. -
clearBuildErrors
void clearBuildErrors()Deprecated. -
cloneAsBuildResults
Deprecated. -
getStartTime
Deprecated.When was the build was started- Returns:
- Date - when this CurrentBuildResult was generated
-
setStartTime
Deprecated. -
setCustomBuildData
Deprecated. -
setSuccessfulTestResults
Deprecated. -
getSuccessfulTestResults
Deprecated. -
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.
-
BuildResultsSummary
instead. Only use if test results are required.