com.atlassian.bamboo.resultsummary
Class BuildResultsSummaryImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.resultsummary.AbstractResultsSummary
com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl
- All Implemented Interfaces:
- BambooObject, BuildResultsSummary, ExtendedBuildResultsSummary, MutableBuildKeyResultsSummary, ResultsSummary, ResultStatisticsProvider, java.lang.Cloneable, java.lang.Comparable<ResultsSummary>
public class BuildResultsSummaryImpl
- extends AbstractResultsSummary
- implements BuildResultsSummary
Methods inherited from class com.atlassian.bamboo.resultsummary.AbstractResultsSummary |
compareTo, equals, getArtifactLinks, getArtifactLinksThatExist, getBuildAgentId, getBuildCancelledDate, getBuildCompletedDate, getBuildDate, getBuildKey, getBuildNumber, getBuildResultKey, getBuildState, getBuildTime, getChangesListSummary, getComments, getCommits, getCustomBuildData, getDeltaState, getDiscriminator, getDuration, getDurationDescription, getDurationInSeconds, getFailedTestCount, getFixingJiraIssues, getJiraIssueKeys, getJiraIssues, getLabellings, getLabelNames, getLifeCycleState, getLongReasonSummary, getPlan, getPlanCompletedDate, getPlanResultKey, getQueueTime, getReasonSummary, getRelatedJiraIssues, getRelativeBuildDate, getRelativeBuildDate, getShortReasonSummary, getSuccessfulTestCount, getTestClassResults, getTestResultsSummary, getTestSummary, getTextProvider, getTimeToFix, getTriggerReasonKey, getTriggerReasonManager, getUniqueAuthors, getVcsRevisionKey, hasChanges, hasComments, hashCode, isActive, isFailed, isFinished, isInProgress, isNotBuilt, isPending, isQueued, isSuccessful, isWaiting, resetTestClassResults, setArtifactLinks, setBuildAgentId, setBuildCancelledDate, setBuildCompletedDate, setBuildDate, setBuildKey, setBuildNumber, setBuildState, setComments, setCommits, setCustomBuildData, setDeltaState, setDiscriminator, setDuration, setJiraIssues, setLabellings, setLifeCycleState, setPlanCompletedDate, setQueueTime, setTestResultsSummary, setTextProvider, setTimeToFix, setTriggerReasonKey, setTriggerReasonManager, setVcsRevisionKey, updateLifeCycleState |
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.resultsummary.ResultsSummary |
getArtifactLinks, getArtifactLinksThatExist, getBuildCancelledDate, getBuildCompletedDate, getBuildKey, getBuildResultKey, getBuildTime, getChangesListSummary, getComments, getCommits, getCustomBuildData, getDeltaState, getDuration, getDurationDescription, getFailedTestCount, getFixingJiraIssues, getJiraIssueKeys, getJiraIssues, getLabellings, getLabelNames, getLifeCycleState, getPlan, getPlanCompletedDate, getPlanResultKey, getQueueTime, getReasonSummary, getRelatedJiraIssues, getRelativeBuildDate, getRelativeBuildDate, getShortReasonSummary, getSuccessfulTestCount, getTestResultsSummary, getTestSummary, getTimeToFix, getUniqueAuthors, getVcsRevisionKey, hasChanges, hasComments, isActive, isFailed, isFinished, isInProgress, isNotBuilt, isPending, isQueued, isSuccessful, isWaiting, resetTestClassResults, setBuildCancelledDate, setBuildDate, setDeltaState, setDuration, setPlanCompletedDate, setQueueTime, setTestResultsSummary, setTimeToFix, setVcsRevisionKey, updateLifeCycleState |
Methods inherited from interface java.lang.Comparable |
compareTo |
BuildResultsSummaryImpl
public BuildResultsSummaryImpl()
getFilteredTestResults
@Nullable
public FilteredTestResults getFilteredTestResults()
- Description copied from interface:
BuildResultsSummary
- Return a filtered view of all the tests that ran in this build. Provides some degree of caching but is still
relatively intensive.
- Specified by:
getFilteredTestResults
in interface BuildResultsSummary
- Returns:
- a filtered view of all the tests ran in this build. Null if the builds hasn't finished yet.
getExtraBuildResultsData
@Nullable
public ExtraBuildResultsData getExtraBuildResultsData()
- Description copied from interface:
BuildResultsSummary
- Allow access to
ExtraBuildResultsData
- Specified by:
getExtraBuildResultsData
in interface BuildResultsSummary
- Returns:
getChainResultsSummary
@Nullable
public ChainResultsSummary getChainResultsSummary()
- Description copied from interface:
BuildResultsSummary
- The
ChainResultsSummary
to which the current BuildResultsSummary
is a child of
Typically this is the link between a Chain
and Job
result
If the value is null it can be assumed that the result is for a Build
- Specified by:
getChainResultsSummary
in interface BuildResultsSummary
setChainResultsSummary
public void setChainResultsSummary(@NotNull
ChainResultsSummary chainResultsSummary)
- Specified by:
setChainResultsSummary
in interface BuildResultsSummary
getQueueDuration
public long getQueueDuration()
- Description copied from interface:
BuildResultsSummary
- How long build was in the queue (in miliseconds)
- Specified by:
getQueueDuration
in interface BuildResultsSummary
- Returns:
getVcsUpdateTime
public java.util.Date getVcsUpdateTime()
- Description copied from interface:
BuildResultsSummary
- When the source syncronisation was kicked off
- Specified by:
getVcsUpdateTime
in interface BuildResultsSummary
- Returns:
getVcsUpdateDuration
public long getVcsUpdateDuration()
- Description copied from interface:
BuildResultsSummary
- How long checkout take (in miliseconds)
- Specified by:
getVcsUpdateDuration
in interface BuildResultsSummary
- Returns:
setTriggerReason
public void setTriggerReason(TriggerReason triggerReason)
- Specified by:
setTriggerReason
in interface ResultsSummary
- Overrides:
setTriggerReason
in class AbstractResultsSummary
getTriggerReason
@NotNull
public TriggerReason getTriggerReason()
- Description copied from interface:
ResultsSummary
- Why the build was was triggered
- Specified by:
getTriggerReason
in interface ResultsSummary
- Overrides:
getTriggerReason
in class AbstractResultsSummary
- Returns:
setVcsUpdateTime
public void setVcsUpdateTime(java.util.Date vcsUpdateTime)
Copyright © 2010 Atlassian. All Rights Reserved.