com.atlassian.bamboo.chains
Class ChainResultsSummaryImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.resultsummary.AbstractResultsSummary
com.atlassian.bamboo.chains.ChainResultsSummaryImpl
- All Implemented Interfaces:
- ChainResultsSummary, BambooObject, MutableBuildKeyResultsSummary, ResultsSummary, ResultStatisticsProvider, java.lang.Cloneable, java.lang.Comparable<ResultsSummary>
public class ChainResultsSummaryImpl
- extends AbstractResultsSummary
- implements ChainResultsSummary
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, getTriggerReason, 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, setTriggerReason, 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, getTriggerReason, getUniqueAuthors, getVcsRevisionKey, hasChanges, hasComments, isActive, isFailed, isFinished, isInProgress, isNotBuilt, isPending, isQueued, isSuccessful, isWaiting, resetTestClassResults, setBuildCancelledDate, setBuildDate, setDeltaState, setDuration, setPlanCompletedDate, setQueueTime, setTestResultsSummary, setTimeToFix, setTriggerReason, setVcsRevisionKey, updateLifeCycleState |
Methods inherited from interface java.lang.Comparable |
compareTo |
ChainResultsSummaryImpl
public ChainResultsSummaryImpl()
createStageResult
@NotNull
public ChainStageResult createStageResult(@NotNull
ChainStage chainStage)
- Description copied from interface:
ChainResultsSummary
- Create a new
ChainStageResult
and associates it with the ChainResultsSummary
- Specified by:
createStageResult
in interface ChainResultsSummary
- Parameters:
chainStage
- the Stage related to result
- Returns:
- chainStageResult
getStageResults
@NotNull
public java.util.List<ChainStageResult> getStageResults()
- Description copied from interface:
ChainResultsSummary
- Get all the
ChainStageResult
's associated with this ChainResultsSummary
- Specified by:
getStageResults
in interface ChainResultsSummary
- Returns:
- results
setStageResults
public void setStageResults(@NotNull
java.util.List<ChainStageResult> stageResults)
addStageResult
public boolean addStageResult(@NotNull
ChainStageResult chainStageResult)
- Description copied from interface:
ChainResultsSummary
- Add a stage result
- Specified by:
addStageResult
in interface ChainResultsSummary
- Returns:
- success
removeStageResult
public boolean removeStageResult(@NotNull
ChainStageResult chainStageResult)
- Description copied from interface:
ChainResultsSummary
- Remove a stage result
- Specified by:
removeStageResult
in interface ChainResultsSummary
- Returns:
- success
getFailedJobResults
@NotNull
public java.util.List<BuildResultsSummary> getFailedJobResults()
- Description copied from interface:
ChainResultsSummary
- Get a list of all failed job Results in this chain result
- Specified by:
getFailedJobResults
in interface ChainResultsSummary
- Returns:
- a list of all failed job Results in this chain result
getTotalJobCount
public int getTotalJobCount()
- Specified by:
getTotalJobCount
in interface ChainResultsSummary
- Returns:
- how many job results exist
getTestResults
@Nullable
public FilteredTestResults<TestClassResultDescriptor> getTestResults()
- Description copied from interface:
ChainResultsSummary
- Get the helper class to provide filtered test lists for this chain result
- Specified by:
getTestResults
in interface ChainResultsSummary
- Returns:
- helper class to provide filtered test lists for this chain result, null if the chain hasn't finished
Copyright © 2010 Atlassian. All Rights Reserved.