@PublicApi public interface ResultsSummary extends BambooObject, Deletable, ImmutableResultsSummary, BambooCustomDataAware, PlanResultKeyProvider
Plan executionsCUSTOM_DATA_BUILD_KEYgetPlanKey| Modifier and Type | Method and Description |
|---|---|
String |
getBuildKey()
Deprecated.
since 4.3, use
ImmutableResultsSummary.getPlanKey() |
String |
getBuildResultKey()
Deprecated.
since 4.3, use
ImmutableResultsSummary.getPlanResultKey() |
int |
getFormatVersion() |
ImmutablePlan |
getImmutablePlan()
Gets the
Plan that this result belongs directly belongs to |
Plan |
getPlan()
Deprecated.
since 5.0 use
getImmutablePlan() |
VariableContextBaseline |
getVariableContextBaseline()
Deprecated.
since 5.7 internal use only, use
ResultsSummaryVariableAccessor.safeGetVariableContextBaseline(PlanResultKey) instead |
int |
incrementRestartCount()
Increments number of build restarts and returns the new value
|
void |
resetTestClassResults(List<TestClassResult> testClassResults)
Overrides all current testClassResults with the new ones
|
void |
setBuildAgentId(long buildAgentId) |
void |
setBuildCancelledDate(Date buildCancelledDate) |
void |
setBuildCompletedDate(Date completionDate) |
void |
setBuildDate(Date buildDate) |
void |
setCustomBuild(boolean customBuild) |
void |
setDeltaState(DeltaState deltaState)
Sets the
DeltaState for the summary. |
void |
setDuration(long duration) |
void |
setLogSize(Long logSize)
Sets the size of the log file associated with this result, eg.
|
void |
setOnceOff(boolean onceOff) |
void |
setProcessingDuration(long processingDuration) |
void |
setQueueTime(Date queueDate) |
void |
setRebuild(boolean rebuild) |
void |
setTestResultsSummary(TestResultsSummary testResultsSummary)
Set the test summary information from this build
|
void |
setTimeToFix(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)
Deprecated.
since 5.7
|
void |
updateFormatVersion()
Sets format version to current Bamboo build number.
|
void |
updateLifeCycleState(LifeCycleState lifeCycleState,
BuildState buildState)
Update lifeCycleState and buildState in one go.
|
setMarkedForDeletionsetIdgetIdisMarkedForDeletiongetArtifactLinks, getArtifactLinksThatExist, getBuildAgentId, getBuildCancelledDate, getBuildCompletedDate, getBuildTime, getChangesListSummary, getCommits, getCustomBuildData, getDeltaState, getDuration, getDurationDescription, getFixingJiraIssues, getJiraIssueKeys, getJiraIssues, getLabellings, getLabelNames, getLifeCycleState, getLogSize, getManuallyOverriddenVariables, getPlanKey, getPlanResultKey, getProcessingDuration, getProcessingDurationDescription, getQueueTime, getReasonSummary, getRelatedJiraIssues, getRelativeBuildDate, getRelativeBuildDate, getRelativeBuildStartedDate, getRelativeBuildStartedDate, getRelativeQueueDate, getRelativeQueueDate, getRepositoryChangesets, getRestartCount, getShortReasonSummary, getSubscriptions, getSubstitutedVariables, getTestResultsSummary, getTestSummary, getTimeToFix, getTriggerReason, getUniqueAuthors, getVariableContext, getVariableContextLogs, hasChanges, hasComments, isActive, isCustomBuild, isFailed, isFinished, isInProgress, isNotBuilt, isNotRunYet, isOnceOff, isPending, isQueued, isRebuild, isSuccessful, isWaitinggetBuildDate, getBuildNumber, getBuildState, getStatDatecompareToupdateCustomDataEntrygetPlanResultKey@NotNull ImmutablePlan getImmutablePlan()
Plan that this result belongs directly belongs togetImmutablePlan in interface ImmutableResultsSummaryIllegalStateException - if the plan doesn't exist@NotNull @Deprecated Plan getPlan()
getImmutablePlan()Plan that this result belongs directly belongs togetPlan in interface ImmutableResultsSummaryIllegalStateException - if the plan doesn't exist.@Deprecated @NotNull String getBuildKey()
ImmutableResultsSummary.getPlanKey()@Deprecated @NotNull 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 setLogSize(@Nullable
Long logSize)
Job or
largest log produced by Chain's Jobs.logSize - size of the largest log associated with the result (use null if unknown)void setDuration(long duration)
duration - duration of the build in millisecondsvoid setProcessingDuration(long processingDuration)
processingDuration - void setBuildCompletedDate(@Nullable
Date completionDate)
void setBuildCancelledDate(Date buildCancelledDate)
void setTimeToFix(Long timeToFix)
timeToFix - how long (milli seconds) it took for this build to fix a failure.void resetTestClassResults(@NotNull
List<TestClassResult> testClassResults)
testClassResults - to setvoid setTestResultsSummary(@NotNull
TestResultsSummary testResultsSummary)
testResultsSummary - the test summary informationvoid setBuildDate(Date buildDate)
buildDate - void setQueueTime(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)
@Deprecated @Nullable VariableContextBaseline getVariableContextBaseline()
ResultsSummaryVariableAccessor.safeGetVariableContextBaseline(PlanResultKey) instead@Deprecated void setVariableContextBaseline(@Nullable VariableContextBaseline variableContextBaseline)
variableContextBaseline - int getFormatVersion()
void updateFormatVersion()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.