|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface ResultsSummary
Used to store the result of all Plan
executions
Field Summary |
---|
Fields inherited from interface com.atlassian.bamboo.resultsummary.ImmutableResultsSummary |
---|
CUSTOM_DATA_BUILD_KEY |
Method Summary | |
---|---|
java.lang.String |
getBuildKey()
Deprecated. since 4.3, use ImmutableResultsSummary.getPlanKey() |
java.lang.String |
getBuildResultKey()
Deprecated. since 4.3, use ImmutableResultsSummary.getPlanResultKey() |
ImmutablePlan |
getImmutablePlan()
Gets the Plan that this result belongs directly belongs to |
Plan |
getPlan()
Deprecated. since 5.0 use getImmutablePlan() |
VariableContextBaseline |
getVariableContextBaseline()
|
int |
incrementRestartCount()
Increments number of build restarts and returns the new value |
void |
resetTestClassResults(java.util.List<TestClassResult> testClassResults)
Overrides all current testClassResults with the new ones |
void |
setBuildAgentId(long buildAgentId)
|
void |
setBuildCancelledDate(java.util.Date buildCancelledDate)
|
void |
setBuildCompletedDate(java.util.Date completionDate)
|
void |
setBuildDate(java.util.Date buildDate)
|
void |
setCustomBuild(boolean customBuild)
|
void |
setDeltaState(DeltaState deltaState)
Sets the DeltaState for the summary. |
void |
setDuration(long duration)
|
void |
setOnceOff(boolean onceOff)
|
void |
setProcessingDuration(long processingDuration)
|
void |
setQueueTime(java.util.Date queueDate)
|
void |
setRebuild(boolean rebuild)
|
void |
setTestResultsSummary(TestResultsSummary testResultsSummary)
Set the test summary information from this build |
void |
setTimeToFix(java.lang.Long timeToFix)
A stored version of how long (milli seconds) it took for this build to fix a failure. |
void |
setTriggerReason(TriggerReason triggerReason)
|
void |
setVariableContextBaseline(VariableContextBaseline variableContextBaseline)
|
void |
updateLifeCycleState(LifeCycleState lifeCycleState,
BuildState buildState)
Update lifeCycleState and buildState in one go. |
Methods inherited from interface com.atlassian.bamboo.deletion.Deletable |
---|
setMarkedForDeletion |
Methods inherited from interface com.atlassian.bamboo.core.BambooObject |
---|
setId |
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider |
---|
getId |
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableDeletable |
---|
isMarkedForDeletion |
Methods inherited from interface com.atlassian.bamboo.resultsummary.ResultStatisticsProvider |
---|
getBuildDate, getBuildNumber, getBuildState, getDurationInSeconds, getStatDate |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface com.atlassian.bamboo.core.BambooCustomDataAware |
---|
updateCustomDataEntry |
Method Detail |
---|
@NotNull ImmutablePlan getImmutablePlan()
Plan
that this result belongs directly belongs to
getImmutablePlan
in interface ImmutableResultsSummary
{@link
- IllegalStateException} if the plan doesn't exist@NotNull @Deprecated Plan getPlan()
getImmutablePlan()
Plan
that this result belongs directly belongs to
getPlan
in interface ImmutableResultsSummary
{@link
- IllegalStateException} if the plan doesn't exist.@Deprecated @NotNull java.lang.String getBuildKey()
ImmutableResultsSummary.getPlanKey()
@Deprecated @NotNull java.lang.String getBuildResultKey()
ImmutableResultsSummary.getPlanResultKey()
void setTriggerReason(TriggerReason triggerReason)
void setDeltaState(DeltaState deltaState)
DeltaState
for the summary. Provides a status relative to the previous summary.
deltaState
- - the relative status for this summaryvoid setOnceOff(boolean onceOff)
void setCustomBuild(boolean customBuild)
void setRebuild(boolean rebuild)
void setDuration(long duration)
duration
- duration of the build in millisecondsvoid setProcessingDuration(long processingDuration)
processingDuration
- void setBuildCompletedDate(java.util.Date completionDate)
void setBuildCancelledDate(java.util.Date buildCancelledDate)
void setTimeToFix(java.lang.Long timeToFix)
timeToFix
- how long (milli seconds) it took for this build to fix a failure.void resetTestClassResults(@NotNull java.util.List<TestClassResult> testClassResults)
testClassResults
- to setvoid setTestResultsSummary(@NotNull TestResultsSummary testResultsSummary)
testResultsSummary
- the test summary informationvoid setBuildDate(java.util.Date buildDate)
buildDate
- void setQueueTime(java.util.Date queueDate)
queueDate
- void updateLifeCycleState(@NotNull LifeCycleState lifeCycleState, @NotNull BuildState buildState)
lifeCycleState
- lifeCycleState to be setbuildState
- buildState to be setint incrementRestartCount()
void setBuildAgentId(long buildAgentId)
@Nullable VariableContextBaseline getVariableContextBaseline()
void setVariableContextBaseline(@Nullable VariableContextBaseline variableContextBaseline)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |