|
||||||||||
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.AbstractBuildResultsSummary
public abstract class AbstractBuildResultsSummary
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject |
---|
id |
Constructor Summary | |
---|---|
AbstractBuildResultsSummary()
|
Method Summary | |
---|---|
java.util.Collection<ArtifactLink> |
getArtifactLinksThatExist()
This returns live view of the getArtifactLinks() |
java.lang.String |
getBuildResultKey()
A full build result key e.g. |
java.lang.String |
getBuildTime()
When did the build start? |
java.lang.String |
getDurationDescription()
Returns the duration in a "pretty" format. |
java.util.Set<LinkedJiraIssue> |
getFixingJiraIssues()
Return JIRA issues that this build result summary fixes |
java.lang.String |
getLongReasonSummary()
|
PlanResultKey |
getPlanResultKey()
Gets the PlanResultKey for this BuildResultsSummary |
java.lang.String |
getReasonSummary()
|
java.util.Set<LinkedJiraIssue> |
getRelatedJiraIssues()
Returns JIRA issues that are related to this build result. |
java.lang.String |
getRelativeBuildDate()
|
java.lang.String |
getRelativeBuildDate(java.util.Date comparedTo)
Provides a relative build date, such as 2 hours ago. |
java.lang.String |
getShortReasonSummary()
|
com.opensymphony.xwork.TextProvider |
getTextProvider()
|
protected TriggerReasonManager |
getTriggerReasonManager()
|
java.lang.String |
getVcsRevisionKey()
The string representing the revision when the build was run. |
boolean |
hasChanges()
Whether a build had changes or not |
boolean |
isBuiltToday()
|
boolean |
isFailed()
Shortcut method to see if ResultStatisticsProvider.getBuildState() is BuildState.FAILED |
boolean |
isNotBuilt()
Shortcut method to see if ResultStatisticsProvider.getBuildState() is BuildState.NOT_BUILT |
boolean |
isPending()
Shortcut method to see if ResultStatisticsProvider.getBuildState() is BuildState.PENDING |
boolean |
isSuccessful()
Shortcut method to see if ResultStatisticsProvider.getBuildState() is BuildState.SUCCESS |
void |
setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
|
void |
setTriggerReasonManager(TriggerReasonManager triggerReasonManager)
|
void |
setVcsRevisionKey(java.lang.String vcsRevisionKey)
|
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject |
---|
getId, setId |
Methods inherited from class com.atlassian.core.bean.EntityObject |
---|
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, 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.BuildResultsSummary |
---|
getArtifactLinks, getBuildAgentId, getBuildCompletedDate, getBuildKey, getComments, getCustomBuildData, getDeltaState, getDuration, getFailedTestCount, getFilteredTestResults, getId, getJiraIssueKeys, getJiraIssues, getLabellings, getLabelNames, getQueueDuration, getQueueTime, getSuccessfulTestCount, getTestResultsSummary, getTestSummary, getTimeToFix, getTriggerReason, getUniqueAuthors, getVcsUpdateDuration, getVcsUpdateTime, hasComments, resetTestClassResults, setTestResultsSummary |
Methods inherited from interface com.atlassian.bamboo.resultsummary.ResultStatisticsProvider |
---|
getBuildDate, getBuildNumber, getBuildState, getDurationInSeconds |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public AbstractBuildResultsSummary()
Method Detail |
---|
@NotNull public PlanResultKey getPlanResultKey()
BuildResultsSummary
PlanResultKey
for this BuildResultsSummary
getPlanResultKey
in interface BuildResultsSummary
@NotNull public java.lang.String getBuildResultKey()
BuildResultsSummary
getBuildResultKey
in interface BuildResultsSummary
@Nullable public java.lang.String getVcsRevisionKey()
BuildResultsSummary
Repository
specific, so may not correspond
and thus be parseable by the current repository configuration. May return null since this data is not always available
getVcsRevisionKey
in interface BuildResultsSummary
public void setVcsRevisionKey(java.lang.String vcsRevisionKey)
setVcsRevisionKey
in interface BuildResultsSummary
@NotNull public java.lang.String getDurationDescription()
BuildResultsSummary
getDurationDescription
in interface BuildResultsSummary
public java.lang.String getRelativeBuildDate()
getRelativeBuildDate
in interface BuildResultsSummary
public boolean isBuiltToday()
public java.lang.String getRelativeBuildDate(java.util.Date comparedTo)
getRelativeBuildDate
in interface BuildResultsSummary
public java.lang.String getShortReasonSummary()
getShortReasonSummary
in interface BuildResultsSummary
public java.lang.String getReasonSummary()
getReasonSummary
in interface BuildResultsSummary
public java.lang.String getLongReasonSummary()
public boolean isFailed()
BuildResultsSummary
ResultStatisticsProvider.getBuildState()
is BuildState.FAILED
isFailed
in interface BuildResultsSummary
public boolean isSuccessful()
BuildResultsSummary
ResultStatisticsProvider.getBuildState()
is BuildState.SUCCESS
isSuccessful
in interface BuildResultsSummary
public boolean isPending()
BuildResultsSummary
ResultStatisticsProvider.getBuildState()
is BuildState.PENDING
isPending
in interface BuildResultsSummary
public boolean isNotBuilt()
BuildResultsSummary
ResultStatisticsProvider.getBuildState()
is BuildState.NOT_BUILT
isNotBuilt
in interface BuildResultsSummary
@NotNull public java.util.Set<LinkedJiraIssue> getFixingJiraIssues()
BuildResultsSummary
getFixingJiraIssues
in interface BuildResultsSummary
@NotNull public java.util.Set<LinkedJiraIssue> getRelatedJiraIssues()
BuildResultsSummary
getRelatedJiraIssues
in interface BuildResultsSummary
public boolean hasChanges()
BuildResultsSummary
hasChanges
in interface BuildResultsSummary
public java.util.Collection<ArtifactLink> getArtifactLinksThatExist()
getArtifactLinksThatExist
in interface BuildResultsSummary
public java.lang.String getBuildTime()
getBuildTime
in interface BuildResultsSummary
protected TriggerReasonManager getTriggerReasonManager()
public void setTriggerReasonManager(TriggerReasonManager triggerReasonManager)
public com.opensymphony.xwork.TextProvider getTextProvider()
public void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |