|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.results.BuildResultsImpl
BuildResultsSummary
instead. Only use if test results are required.
@Deprecated public class BuildResultsImpl
This contains a build's build results.
Constructor Summary | |
---|---|
BuildResultsImpl()
Deprecated. |
|
BuildResultsImpl(java.lang.String buildKey,
BuildState state,
java.util.List<java.lang.String> buildErrors,
java.util.Collection<Commit> commits,
ReasonForBuild reasonForBuild)
Deprecated. Create the build results |
Method Summary | |
---|---|
void |
addBuildErrors(java.util.List<java.lang.String> errorMessages)
Deprecated. Obtain the changes that triggered the build |
void |
clearBuildErrors()
Deprecated. |
BuildResults |
cloneAsBuildResults(BuildContext buildContext,
ReasonForBuild reasonForBuild)
Deprecated. |
boolean |
equals(java.lang.Object o)
Deprecated. |
Buildable |
getBuildable()
Deprecated. |
BuildChanges |
getBuildChanges()
Deprecated. |
java.util.Date |
getBuildCompletedTimeStamp()
Deprecated. |
long |
getBuildDurationInMilliseconds()
Deprecated. How long did the build take? |
java.util.List<java.lang.String> |
getBuildErrors()
Deprecated. What build errors do we have? |
java.lang.String |
getBuildKey()
Deprecated. Which build are these results for? |
int |
getBuildNumber()
Deprecated. Which build generated these results |
java.lang.String |
getBuildResultsKey()
Deprecated. |
BuildResultsSummary |
getBuildResultsSummary()
Deprecated. Find the Build Results Summary object related to this build result summary |
BuildResultsSummaryManager |
getBuildResultsSummaryManager()
Deprecated. |
int |
getBuildReturnCode()
Deprecated. The return code of the executed process |
BuildState |
getBuildState()
Deprecated. What was the status of the build? |
long |
getBuildTime()
Deprecated. |
java.util.Set<Commit> |
getCommits()
Deprecated. |
java.util.Map<java.lang.String,java.lang.String> |
getCustomBuildData()
Deprecated. Returns a map of string keyed strings for storing arbitrary data |
java.util.List<TestResults> |
getFailedTestResults()
Deprecated. |
java.lang.String |
getFullKey()
Deprecated. |
java.util.Map<java.lang.String,Artifact> |
getMyArtifacts()
Deprecated. |
BuildResults |
getNextBuildResults()
Deprecated. |
PlanManager |
getPlanManager()
Deprecated. |
java.lang.String |
getPrettyBuildTime()
Deprecated. |
BuildResults |
getPreviousBuildResults()
Deprecated. |
ReasonForBuild |
getReasonForBuild()
Deprecated. |
static ReasonForBuild |
getReasonForBuild(BuildContext buildContext)
Deprecated. |
java.util.Date |
getStartTime()
Deprecated. What was the date and time of the build? |
org.apache.commons.lang.time.StopWatch |
getStopWatch()
Deprecated. |
java.util.List<TestResults> |
getSuccessfulTestResults()
Deprecated. |
java.util.Map<java.lang.Long,TestResults> |
getSuccessfulTestResultsMap()
Deprecated. Get map of all successful test results. |
TestResultsSummary |
getTestResults()
Deprecated. |
java.util.Set<Author> |
getUniqueAuthors()
Deprecated. Gets a the unique ChangeAuthor s from the getCommits() . |
int |
hashCode()
Deprecated. |
boolean |
isCurrentlyQueuedOnly()
Deprecated. |
void |
setBuildChanges(BuildChanges buildChanges)
Deprecated. |
void |
setBuildErrors(java.util.List<java.lang.String> buildErrors)
Deprecated. |
void |
setBuildKey(java.lang.String buildKey)
Deprecated. |
void |
setBuildNumber(int buildNumber)
Deprecated. Set the build number associated with these results |
void |
setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)
Deprecated. |
void |
setBuildReturnCode(int buildReturnCode)
Deprecated. |
void |
setBuildState(BuildState buildState)
Deprecated. Set the build state |
void |
setCustomBuildData(java.util.Map<java.lang.String,java.lang.String> customBuildData)
Deprecated. |
void |
setDurationInMilliseconds(long buildDuration)
Deprecated. |
void |
setFailedTestResults(java.util.List<TestResults> myFailedTestResults)
Deprecated. |
void |
setMyArtifacts(java.util.Map<java.lang.String,Artifact> myArtifacts)
Deprecated. |
void |
setPlanManager(PlanManager planManager)
Deprecated. |
void |
setReasonForBuild(ReasonForBuild reasonForBuild)
Deprecated. |
void |
setStartTime(java.util.Date date)
Deprecated. Specify when the build occurred. |
void |
setSuccessfulTestResults(java.util.List<TestResults> mySuccessfulTestResults)
Deprecated. |
void |
startTimer()
Deprecated. |
void |
stopTimer()
Deprecated. |
java.lang.String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BuildResultsImpl()
public BuildResultsImpl(java.lang.String buildKey, BuildState state, java.util.List<java.lang.String> buildErrors, java.util.Collection<Commit> commits, ReasonForBuild reasonForBuild)
buildKey
- The unique key of the buildstate
- Was thebuild successful?buildErrors
- Errors generated by the buildercommits
- The changes that triggered the buildreasonForBuild
- Why are we building the build?Method Detail |
---|
public Buildable getBuildable()
public BuildChanges getBuildChanges()
getBuildChanges
in interface BuildResults
public void setBuildChanges(BuildChanges buildChanges)
setBuildChanges
in interface BuildResults
public java.lang.String getBuildKey()
getBuildKey
in interface BuildResults
public java.lang.String getFullKey()
getFullKey
in interface BuildResults
public BuildResultsSummary getBuildResultsSummary()
getBuildResultsSummary
in interface BuildResults
public BuildResultsSummaryManager getBuildResultsSummaryManager()
public void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)
public void setStartTime(java.util.Date date)
setStartTime
in interface BuildResults
date
- The date and time of the buildpublic java.util.Date getStartTime()
getStartTime
in interface BuildResults
public java.util.Date getBuildCompletedTimeStamp()
getBuildCompletedTimeStamp
in interface BuildResults
public void setDurationInMilliseconds(long buildDuration)
setDurationInMilliseconds
in interface BuildResults
public long getBuildDurationInMilliseconds()
getBuildDurationInMilliseconds
in interface BuildResults
public BuildState getBuildState()
getBuildState
in interface BuildResults
public void setBuildState(@NotNull BuildState buildState)
setBuildState
in interface BuildResults
buildState
- The pass/fail state of the buildpublic void addBuildErrors(java.util.List<java.lang.String> errorMessages)
addBuildErrors
in interface BuildResults
@NotNull public java.util.List<java.lang.String> getBuildErrors()
getBuildErrors
in interface ExtraBuildResultsData
public void setBuildErrors(java.util.List<java.lang.String> buildErrors)
public BuildResults cloneAsBuildResults(BuildContext buildContext, ReasonForBuild reasonForBuild)
cloneAsBuildResults
in interface BuildResults
public void setBuildNumber(int buildNumber)
setBuildNumber
in interface BuildResults
buildNumber
- The build numberpublic int getBuildNumber()
getBuildNumber
in interface BuildResults
public ReasonForBuild getReasonForBuild()
getReasonForBuild
in interface BuildResults
public void setReasonForBuild(ReasonForBuild reasonForBuild)
setReasonForBuild
in interface BuildResults
@NotNull public java.util.Map<java.lang.String,java.lang.String> getCustomBuildData()
BuildResults
getCustomBuildData
in interface BuildResults
public void setCustomBuildData(java.util.Map<java.lang.String,java.lang.String> customBuildData)
setCustomBuildData
in interface BuildResults
public boolean equals(java.lang.Object o)
equals
in interface BuildResults
equals
in class java.lang.Object
public int getBuildReturnCode()
ExtraBuildResultsData
getBuildReturnCode
in interface ExtraBuildResultsData
public void setBuildReturnCode(int buildReturnCode)
setBuildReturnCode
in interface BuildResults
public java.util.Set<Author> getUniqueAuthors()
ChangeAuthor
s from the getCommits()
.
getUniqueAuthors
in interface BuildResults
Set
of ChangeAuthor
. Empty set if no changespublic java.util.Set<Commit> getCommits()
getCommits
in interface BuildResults
public BuildResults getPreviousBuildResults()
getPreviousBuildResults
in interface BuildResults
public BuildResults getNextBuildResults()
getNextBuildResults
in interface BuildResults
public void setBuildKey(java.lang.String buildKey)
setBuildKey
in interface BuildResults
@Deprecated public TestResultsSummary getTestResults()
getTestResults
in interface BuildResults
public void setSuccessfulTestResults(java.util.List<TestResults> mySuccessfulTestResults)
setSuccessfulTestResults
in interface BuildResults
public java.util.List<TestResults> getSuccessfulTestResults()
getSuccessfulTestResults
in interface BuildResults
public java.util.Map<java.lang.Long,TestResults> getSuccessfulTestResultsMap()
BuildResults
getSuccessfulTestResultsMap
in interface BuildResults
@Deprecated public void setFailedTestResults(java.util.List<TestResults> myFailedTestResults)
setFailedTestResults
in interface BuildResults
public java.util.List<TestResults> getFailedTestResults()
getFailedTestResults
in interface BuildResults
@Deprecated public void setMyArtifacts(java.util.Map<java.lang.String,Artifact> myArtifacts)
setMyArtifacts
in interface BuildResults
@Deprecated public java.util.Map<java.lang.String,Artifact> getMyArtifacts()
public boolean isCurrentlyQueuedOnly()
isCurrentlyQueuedOnly
in interface BuildResults
public org.apache.commons.lang.time.StopWatch getStopWatch()
getStopWatch
in interface BuildResults
public void startTimer()
public void stopTimer()
public void clearBuildErrors()
clearBuildErrors
in interface BuildResults
public long getBuildTime()
getBuildTime
in interface BuildResults
public java.lang.String getPrettyBuildTime()
getPrettyBuildTime
in interface BuildResults
public void setPlanManager(PlanManager planManager)
setPlanManager
in interface BuildResults
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getBuildResultsKey()
getBuildResultsKey
in interface BuildResults
public java.lang.String toString()
toString
in class java.lang.Object
public PlanManager getPlanManager()
public static ReasonForBuild getReasonForBuild(BuildContext buildContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |