public class BuildResultsSummaryImpl extends AbstractResultsSummary implements BuildResultsSummary
buildState, cachedPlanManagerRef, decryptedSubstitutedVariablesReference, decryptedVariableContextLogsReference, lifeCycleState, markedForDeletion
DATE_FORMAT
CUSTOM_DATA_BUILD_KEY
getPlanKey
Constructor and Description |
---|
BuildResultsSummaryImpl() |
Modifier and Type | Method and Description |
---|---|
void |
clearResultVariables()
Remove all result variables related to this result.
|
ChainResultsSummary |
getChainResultsSummary()
The
ChainResultsSummary to which the current BuildResultsSummary is a child of
Typically this is the link between a Chain and Job result |
ExtraBuildResultsData |
getExtraBuildResultsData()
Allow access to
ExtraBuildResultsData |
FilteredTestResults |
getFilteredTestResults()
Return a filtered view of all the tests that ran in this build.
|
String |
getFullPlanName() |
ImmutableChain |
getImmutableChain()
Gets the
ImmutableChain that this result belongs to (directly or not) |
List<ArtifactLink> |
getProducedArtifactLinks()
Returns all artifacts produced by this build.
|
long |
getQueueDuration()
How long build was in the queue (in miliseconds)
|
List<RepositoryChangeset> |
getRepositoryChangesets() |
TriggerReason |
getTriggerReason()
Why the build was was triggered
|
long |
getVcsUpdateDuration()
How long checkout take (in miliseconds)
|
Date |
getVcsUpdateTime()
When the source syncronisation was kicked off
|
boolean |
isMarkedForDeletion() |
boolean |
isNotRunYet()
Tells whether this result belongs to a job that will run when next manual stage is kicked off
|
void |
setChainResultsSummary(ChainResultsSummary chainResultsSummary) |
void |
setMarkedForDeletion(boolean markedForDeletion) |
protected void |
setProducedArtifactLinks(List<ArtifactLink> producedArtifactLinks) |
void |
setTriggerReason(TriggerReason triggerReason) |
void |
setVcsUpdateTime(Date vcsUpdateTime) |
addVariableContextItem, getArtifactLinks, getBuildAgentId, getBuildCancelledDate, getBuildCompletedDate, getBuildDate, getBuildKey, getBuildNumber, getBuildResultKey, getBuildState, getChangesListSummary, getCustomBuildData, getCustomBuildDataRows, getDeltaState, getDiscriminator, getDuration, getFormatVersion, getImmutablePlan, getJiraIssues, getLabellings, getLifeCycleState, getLogSize, getPlanIfExists, getPlanKey, getPlanName, getProcessingDuration, getQueueTime, getReasonSummary, getRestartCount, getResultVariables, getStageResultId, getSubscriptions, getSubstitutedVariables, getSubstitutedVariablesEncrypted, getTestClassResults, getTestResultsSummary, getTimeToFix, getTriggerManager, getTriggerReasonKey, getVariableContextBaseline, getVariableContextBaselineId, getVariableContextLogs, getVariableContextLogsEncrypted, incrementRestartCount, isCustomBuild, isOnceOff, isRebuild, resetTestClassResults, setArtifactLinks, setBuildAgentId, setBuildCancelledDate, setBuildCompletedDate, setBuildDate, setBuildKey, setBuildNumber, setBuildState, setComments, setCustomBuild, setCustomBuildData, setDeltaState, setDiscriminator, setDuration, setFormatVersion, setJiraIssues, setLabellings, setLifeCycleState, setLogSize, setOnceOff, setPlanKey, setPlanName, setProcessingDuration, setQueueTime, setRebuild, setRestartCount, setStageResultId, setSubscriptions, setTestResultsSummary, setTimeToFix, setTriggerReasonKey, setVariableContextBaseline, setVariableContextLogsEncrypted, toString, updateCustomDataEntry, updateFormatVersion, updateLifeCycleState
compareTo, createChangeListSummary, equals, getArtifactLinksThatExist, getBuildTime, getCommits, getDurationDescription, getFixingJiraIssues, getJiraIssueKeys, getLabelNames, getManuallyOverriddenVariables, getPlanResultKey, getProcessingDurationDescription, getRelatedJiraIssues, getRelativeBuildDate, getRelativeBuildDate, getRelativeBuildStartedDate, getRelativeBuildStartedDate, getRelativeQueueDate, getRelativeQueueDate, getShortReasonSummary, getStatDate, getTestSummary, getUniqueAuthors, hasChanges, hasComments, hashCode, isActive, isFailed, isFinalized, isFinished, isInProgress, isNotBuilt, isPending, isQueued, isSuccessful, isWaiting
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, wait, wait, wait
getResultVariables
addVariableContextItem, getBuildKey, getBuildResultKey, getFormatVersion, getImmutablePlan, getSubstitutedVariablesEncrypted, getVariableContextBaselineId, getVariableContextLogsEncrypted, incrementRestartCount, resetTestClassResults, setBuildAgentId, setBuildCancelledDate, setBuildCompletedDate, setBuildDate, setCustomBuild, setDeltaState, setDuration, setLogSize, setOnceOff, setProcessingDuration, setQueueTime, setRebuild, setTestResultsSummary, setTimeToFix, updateFormatVersion, updateLifeCycleState
setId
getId
getArtifactLinks, getArtifactLinksThatExist, getBuildAgentId, getBuildCancelledDate, getBuildCompletedDate, getBuildTime, getChangesListSummary, getCommits, getCustomBuildData, getDeltaState, getDuration, getDurationDescription, getFixingJiraIssues, getJiraIssueKeys, getJiraIssues, getLabellings, getLabelNames, getLifeCycleState, getLogSize, getManuallyOverriddenVariables, getPlanIfExists, getPlanKey, getPlanName, getPlanResultKey, getProcessingDuration, getProcessingDurationDescription, getQueueTime, getReasonSummary, getRelatedJiraIssues, getRelativeBuildDate, getRelativeBuildDate, getRelativeBuildStartedDate, getRelativeBuildStartedDate, getRelativeQueueDate, getRelativeQueueDate, getRestartCount, getShortReasonSummary, getSubscriptions, getSubstitutedVariables, getTestResultsSummary, getTestSummary, getTimeToFix, getUniqueAuthors, getVariableContextLogs, hasChanges, hasComments, isActive, isCustomBuild, isFailed, isFinished, isInProgress, isNotBuilt, isOnceOff, isPending, isQueued, isRebuild, isSuccessful, isWaiting
getBuildDate, getBuildNumber, getBuildState, getStatDate
compareTo
updateCustomDataEntry
getPlanResultKey
@NotNull public ImmutableChain getImmutableChain()
ImmutableResultsSummary
ImmutableChain
that this result belongs to (directly or not)getImmutableChain
in interface ImmutableResultsSummary
@Nullable public FilteredTestResults getFilteredTestResults()
BuildResultsSummary
getFilteredTestResults
in interface BuildResultsSummary
@Nullable public ExtraBuildResultsData getExtraBuildResultsData()
BuildResultsSummary
ExtraBuildResultsData
getExtraBuildResultsData
in interface BuildResultsSummary
@Nullable public ChainResultsSummary getChainResultsSummary()
BuildResultsSummary
ChainResultsSummary
to which the current BuildResultsSummary
is a child of
Typically this is the link between a Chain
and Job
resultgetChainResultsSummary
in interface BuildResultsSummary
@NotNull public String getFullPlanName()
getFullPlanName
in interface ImmutableResultsSummary
public void setChainResultsSummary(@NotNull ChainResultsSummary chainResultsSummary)
setChainResultsSummary
in interface BuildResultsSummary
@NotNull public List<ArtifactLink> getProducedArtifactLinks()
BuildResultsSummary
getProducedArtifactLinks
in interface BuildResultsSummary
protected void setProducedArtifactLinks(@Nullable List<ArtifactLink> producedArtifactLinks)
public long getQueueDuration()
BuildResultsSummary
getQueueDuration
in interface BuildResultsSummary
public Date getVcsUpdateTime()
BuildResultsSummary
getVcsUpdateTime
in interface BuildResultsSummary
public long getVcsUpdateDuration()
BuildResultsSummary
getVcsUpdateDuration
in interface BuildResultsSummary
public boolean isMarkedForDeletion()
isMarkedForDeletion
in interface ImmutableDeletable
public void setMarkedForDeletion(boolean markedForDeletion)
setMarkedForDeletion
in interface Deletable
@NotNull public List<RepositoryChangeset> getRepositoryChangesets()
getRepositoryChangesets
in interface ImmutableResultsSummary
getRepositoryChangesets
in class AbstractResultsSummary
public void setTriggerReason(TriggerReason triggerReason)
setTriggerReason
in interface ResultsSummary
setTriggerReason
in class AbstractResultsSummary
@NotNull public TriggerReason getTriggerReason()
ImmutableResultsSummary
getTriggerReason
in interface ImmutableResultsSummary
getTriggerReason
in class AbstractResultsSummary
public boolean isNotRunYet()
ImmutableResultsSummary
isNotRunYet
in interface ImmutableResultsSummary
public void setVcsUpdateTime(Date vcsUpdateTime)
public void clearResultVariables()
BuildResultsSummary
clearResultVariables
in interface BuildResultsSummary
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.