|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.core.bean.EntityObject com.atlassian.bamboo.core.BambooEntityObject com.atlassian.bamboo.resultsummary.BaseResultSummary com.atlassian.bamboo.plan.cache.ImmutableResultsSummaryImpl
public class ImmutableResultsSummaryImpl
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.resultsummary.BaseResultSummary |
---|
DATE_FORMAT |
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject |
---|
id |
Fields inherited from interface com.atlassian.bamboo.resultsummary.ImmutableResultsSummary |
---|
CUSTOM_DATA_BUILD_KEY |
Constructor Summary | |
---|---|
ImmutableResultsSummaryImpl(ChainResultsSummary summary,
TriggerManager triggerManager,
ImmutablePlanManager immutablePlanManager,
CachedPlanManager cachedPlanManager)
|
Method Summary | |
---|---|
java.util.List<ArtifactLink> |
getArtifactLinks()
Returns all artifacts associated with this build. |
java.lang.Long |
getBuildAgentId()
The id of the agent that built the result |
java.util.Date |
getBuildCancelledDate()
When the build was cancelled |
java.util.Date |
getBuildCompletedDate()
When the build finished |
java.util.Date |
getBuildDate()
When the build was executed |
int |
getBuildNumber()
Get build number |
BuildState |
getBuildState()
Build state. |
java.lang.String |
getChangesListSummary()
|
java.util.List<Comment> |
getComments()
Gets the associated user comments for the build |
java.util.List<Comment> |
getCommentsToDisplay()
Gets the aggregated comments from the Jobs as well as the parent plan |
java.util.Map<java.lang.String,java.lang.String> |
getCustomBuildData()
Custom data map to store random metadata about the build |
DeltaState |
getDeltaState()
Gets the DeltaState of the summary. |
long |
getDuration()
Duration of the build in milliseconds |
java.util.List<BuildResultsSummary> |
getFailedJobResults()
Get a list of all failed job Results in this chain result |
java.util.Set<LinkedJiraIssue> |
getJiraIssues()
Returns all the JIRA issues linked to this build result |
java.util.List<Labelling> |
getLabellings()
Tags / labels assocaited with the build |
LifeCycleState |
getLifeCycleState()
|
MergeResultSummary |
getMergeResult()
Note: this API is experimental. |
java.util.List<ResultsSummary> |
getOrderedJobResultSummaries()
Returns all jobs ResultsSummary related to chain result summary
Summaries are ordered by stages |
ImmutableChain |
getPlan()
Gets the Plan that this result belongs directly belongs to |
PlanKey |
getPlanKey()
Full key of the plan. |
long |
getProcessingDuration()
Duration of actual build processing in miliseconds |
java.util.Date |
getQueueTime()
When the build queued |
java.lang.String |
getReasonSummary()
|
java.util.List<RepositoryChangeset> |
getRepositoryChangesets()
|
int |
getRestartCount()
Return the number of build restart attempts |
java.util.List<ChainStageResult> |
getStageResults()
Get all the ChainStageResult 's associated with this ChainResultsSummary |
java.util.List<ConsumedSubscription> |
getSubscriptions()
Returns list of consumed artifact dependencies ConsumedSubscription |
java.util.List<VariableSubstitution> |
getSubstitutedVariables()
Returns list of variables substituted during build execution |
FilteredTestResults<TestClassResultDescriptor> |
getTestResults()
Get the helper class to provide filtered test lists for this chain result |
TestResultsSummary |
getTestResultsSummary()
|
java.lang.Long |
getTimeToFix()
A stored version of how long (milli seconds) it took for this build to fix a failure. |
int |
getTotalJobCount()
|
protected TriggerManager |
getTriggerManager()
|
TriggerReason |
getTriggerReason()
Why the build was was triggered |
java.util.List<VariableContextSnapshot> |
getVariableContextLogs()
|
boolean |
isContinuable()
Indicates that Chain execution has been stopped on manual stage and is waiting for user action |
boolean |
isCustomBuild()
Indicates that this result was run with custom variables (some of the variables were overwritten) - used to display indicator in UI |
boolean |
isMarkedForDeletion()
|
boolean |
isNotRunYet()
Tells whether this result belongs to a job that will run when next manual stage is kicked off |
boolean |
isOnceOff()
Indicates that this result was run with custom revision and should be considered as 'once-off' when calculating telemetry and other stuff |
boolean |
isRebuild()
Indicates that this result was rebuild via "re-run this build" action. |
boolean |
isRestartable()
Indicates that Chain execution has been failed and could be restarted from failure place |
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject |
---|
getId, setId |
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.core.BambooIdProvider |
---|
getId |
Methods inherited from interface com.atlassian.bamboo.resultsummary.ResultStatisticsProvider |
---|
getDurationInSeconds, getStatDate |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public ImmutableResultsSummaryImpl(ChainResultsSummary summary, TriggerManager triggerManager, ImmutablePlanManager immutablePlanManager, CachedPlanManager cachedPlanManager)
Method Detail |
---|
@NotNull public java.util.List<ChainStageResult> getStageResults()
ImmutableChainResultsSummary
ChainStageResult
's associated with this ChainResultsSummary
getStageResults
in interface ImmutableChainResultsSummary
public FilteredTestResults<TestClassResultDescriptor> getTestResults()
ImmutableChainResultsSummary
getTestResults
in interface ImmutableChainResultsSummary
@NotNull public java.util.List<BuildResultsSummary> getFailedJobResults()
ImmutableChainResultsSummary
getFailedJobResults
in interface ImmutableChainResultsSummary
public int getTotalJobCount()
getTotalJobCount
in interface ImmutableChainResultsSummary
@NotNull public java.util.List<ResultsSummary> getOrderedJobResultSummaries()
ImmutableChainResultsSummary
ResultsSummary
related to chain result summary
Summaries are ordered by stages
getOrderedJobResultSummaries
in interface ImmutableChainResultsSummary
public boolean isContinuable()
ImmutableChainResultsSummary
Chain
execution has been stopped on manual stage and is waiting for user action
isContinuable
in interface ImmutableChainResultsSummary
public boolean isRestartable()
ImmutableChainResultsSummary
Chain
execution has been failed and could be restarted from failure place
isRestartable
in interface ImmutableChainResultsSummary
public boolean isOnceOff()
ImmutableResultsSummary
isOnceOff
in interface ImmutableResultsSummary
public boolean isCustomBuild()
ImmutableResultsSummary
isCustomBuild
in interface ImmutableResultsSummary
public boolean isRebuild()
ImmutableResultsSummary
isRebuild
in interface ImmutableResultsSummary
@NotNull public ImmutableChain getPlan()
ImmutableResultsSummary
Plan
that this result belongs directly belongs to
getPlan
in interface ImmutableResultsSummary
public boolean isNotRunYet()
ImmutableResultsSummary
isNotRunYet
in interface ImmutableResultsSummary
public boolean isMarkedForDeletion()
@NotNull public java.util.List<ArtifactLink> getArtifactLinks()
ImmutableResultsSummary
getArtifactLinks
in interface ImmutableResultsSummary
public java.util.Date getBuildCancelledDate()
ImmutableResultsSummary
getBuildCancelledDate
in interface ImmutableResultsSummary
public java.util.Date getBuildCompletedDate()
ImmutableResultsSummary
getBuildCompletedDate
in interface ImmutableResultsSummary
public java.util.Date getBuildDate()
ResultStatisticsProvider
getBuildDate
in interface ResultStatisticsProvider
public int getBuildNumber()
ResultStatisticsProvider
getBuildNumber
in interface ResultStatisticsProvider
public BuildState getBuildState()
ResultStatisticsProvider
getBuildState
in interface ResultStatisticsProvider
@NotNull public java.lang.String getChangesListSummary()
getChangesListSummary
in interface ImmutableResultsSummary
@NotNull public java.util.List<Comment> getComments()
ImmutableResultsSummary
getComments
in interface ImmutableResultsSummary
@NotNull public java.util.List<Comment> getCommentsToDisplay()
ImmutableResultsSummary
getCommentsToDisplay
in interface ImmutableResultsSummary
@NotNull public java.util.Map<java.lang.String,java.lang.String> getCustomBuildData()
ImmutableResultsSummary
getCustomBuildData
in interface ImmutableResultsSummary
public DeltaState getDeltaState()
ImmutableResultsSummary
DeltaState
of the summary. It can be a build that fixes, breaks, failing, successful. Provides a status
relative to the previous summary.
getDeltaState
in interface ImmutableResultsSummary
public long getDuration()
ImmutableResultsSummary
getDuration
in interface ImmutableResultsSummary
getDuration
in interface ResultStatisticsProvider
@NotNull public java.util.Set<LinkedJiraIssue> getJiraIssues()
ImmutableResultsSummary
getJiraIssues
in interface ImmutableResultsSummary
public java.util.List<Labelling> getLabellings()
ImmutableResultsSummary
getLabellings
in interface ImmutableResultsSummary
public LifeCycleState getLifeCycleState()
getLifeCycleState
in interface ImmutableResultsSummary
@NotNull public PlanKey getPlanKey()
ImmutableResultsSummary
getPlanKey
in interface ImmutableResultsSummary
public long getProcessingDuration()
ImmutableResultsSummary
getProcessingDuration
in interface ImmutableResultsSummary
getProcessingDuration
in interface ResultStatisticsProvider
public java.util.Date getQueueTime()
ImmutableResultsSummary
getQueueTime
in interface ImmutableResultsSummary
public java.lang.String getReasonSummary()
getReasonSummary
in interface ImmutableResultsSummary
@NotNull public java.util.List<RepositoryChangeset> getRepositoryChangesets()
getRepositoryChangesets
in interface ImmutableResultsSummary
public int getRestartCount()
ImmutableResultsSummary
getRestartCount
in interface ImmutableResultsSummary
@NotNull public java.util.List<ConsumedSubscription> getSubscriptions()
ImmutableResultsSummary
ConsumedSubscription
getSubscriptions
in interface ImmutableResultsSummary
@NotNull public java.util.List<VariableSubstitution> getSubstitutedVariables()
ImmutableResultsSummary
getSubstitutedVariables
in interface ImmutableResultsSummary
@NotNull public TestResultsSummary getTestResultsSummary()
getTestResultsSummary
in interface ImmutableResultsSummary
public java.lang.Long getTimeToFix()
ImmutableResultsSummary
getTimeToFix
in interface ImmutableResultsSummary
@NotNull public TriggerReason getTriggerReason()
ImmutableResultsSummary
getTriggerReason
in interface ImmutableResultsSummary
@NotNull public java.util.List<VariableContextSnapshot> getVariableContextLogs()
getVariableContextLogs
in interface ImmutableResultsSummary
protected TriggerManager getTriggerManager()
getTriggerManager
in class BaseResultSummary
public MergeResultSummary getMergeResult()
ImmutableChainResultsSummary
getMergeResult
in interface ImmutableChainResultsSummary
public java.lang.Long getBuildAgentId()
ImmutableResultsSummary
getBuildAgentId
in interface ImmutableResultsSummary
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |