|
||||||||||
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 com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl
public class BuildResultsSummaryImpl
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject |
---|
id |
Constructor Summary | |
---|---|
BuildResultsSummaryImpl()
|
Method Summary | |
---|---|
int |
compareTo(BuildResultsSummary buildResultsSummary)
|
boolean |
equals(java.lang.Object object)
|
java.util.Collection<ArtifactLink> |
getArtifactLinks()
Returns all artifacts. |
java.lang.Long |
getBuildAgentId()
The agent Id |
java.util.Date |
getBuildCompletedDate()
When the build finished |
java.util.Date |
getBuildDate()
|
java.lang.String |
getBuildKey()
Full key of the plan. |
int |
getBuildNumber()
|
BuildState |
getBuildState()
|
java.lang.String |
getChangesListSummary()
|
java.util.List<Comment> |
getComments()
Gets the associated user comments for the build |
java.util.Set<Commit> |
getCommits()
|
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 millisecods |
double |
getDurationInSeconds()
|
long |
getFailedTestCount()
Deprecated. |
FilteredTestResults |
getFilteredTestResults()
Return a filtered view of all the tests that ran in this build. |
java.util.Set<java.lang.String> |
getJiraIssueKeys()
Returns all the JIRA issue keys linked to this build result |
java.util.Set<LinkedJiraIssue> |
getJiraIssues()
Returns all the JIRA issues linked to this build result |
java.util.List |
getLabellings()
Tags / labels assocaited with the build |
java.util.List<java.lang.String> |
getLabelNames()
A shortcust method to get all of the label names from the labbellings |
long |
getQueueDuration()
How long build was in the queue (in miliseconds) |
java.util.Date |
getQueueTime()
When the build queued |
long |
getSuccessfulTestCount()
Deprecated. |
TestResultsSummary |
getTestResultsSummary()
|
java.lang.String |
getTestSummary()
|
java.lang.Long |
getTimeToFix()
A stored version of how long (milli seconds) it took for this build to fix a failure. |
TriggerReason |
getTriggerReason()
Why the build was was triggered |
java.lang.String |
getTriggerReasonKey()
|
java.util.Set |
getUniqueAuthors()
A shortcut method to get the unique set of authors contributing to this build. |
long |
getVcsUpdateDuration()
How long checkout take (in miliseconds) |
java.util.Date |
getVcsUpdateTime()
When the source syncronisation was kicked off |
boolean |
hasComments()
Checks if the result has any user comments for the build |
int |
hashCode()
|
static void |
prefetchFromHibernate(ExtendedBuildResultsSummary buildResultsSummary)
An inelegant method to force lazily loaded items on the ExtendedBuildResultsSummary to be fully loaded
and relatively safe to use outside of the session. |
void |
resetTestClassResults(java.util.List<TestClassResult> testClassResults)
Overrides all current testClassResults with the new ones |
void |
setArtifactLinks(java.util.List<ArtifactLink> artifactLinks)
|
void |
setBuildAgentId(java.lang.Long buildAgentId)
|
void |
setBuildCompletedDate(java.util.Date buildCompletedDate)
|
void |
setBuildDate(java.util.Date buildDate)
|
void |
setBuildKey(java.lang.String buildKey)
|
void |
setBuildNumber(int buildNumber)
|
void |
setBuildState(BuildState buildState)
|
void |
setComments(java.util.List comments)
|
void |
setCommits(java.util.Set<Commit> commits)
|
void |
setCustomBuildData(java.util.Map customBuildData)
|
void |
setDeltaState(DeltaState deltaState)
|
void |
setDuration(long duration)
|
void |
setJiraIssues(java.util.Set jiraIssues)
|
void |
setLabellings(java.util.List labellings)
|
void |
setQueueTime(java.util.Date queueTime)
|
void |
setTestResultsSummary(TestResultsSummary testResultsSummary)
Set the test summary information from this build |
void |
setTimeToFix(java.lang.Long timeToFix)
|
void |
setTriggerReason(TriggerReason triggerReason)
|
void |
setTriggerReasonKey(java.lang.String triggerReasonKey)
|
void |
setVcsUpdateTime(java.util.Date vcsUpdateTime)
|
Methods inherited from class com.atlassian.bamboo.resultsummary.AbstractBuildResultsSummary |
---|
getArtifactLinksThatExist, getBuildResultKey, getBuildTime, getDurationDescription, getFixingJiraIssues, getLongReasonSummary, getPlanResultKey, getReasonSummary, getRelatedJiraIssues, getRelativeBuildDate, getRelativeBuildDate, getShortReasonSummary, getTextProvider, getTriggerReasonManager, getVcsRevisionKey, hasChanges, isBuiltToday, isFailed, isNotBuilt, isPending, isSuccessful, setTextProvider, setTriggerReasonManager, setVcsRevisionKey |
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.resultsummary.BuildResultsSummary |
---|
getArtifactLinksThatExist, getBuildResultKey, getBuildTime, getDurationDescription, getFixingJiraIssues, getId, getPlanResultKey, getReasonSummary, getRelatedJiraIssues, getRelativeBuildDate, getRelativeBuildDate, getShortReasonSummary, getVcsRevisionKey, hasChanges, isFailed, isNotBuilt, isPending, isSuccessful, setVcsRevisionKey |
Methods inherited from interface com.atlassian.bamboo.core.BambooObject |
---|
getId, setId |
Constructor Detail |
---|
public BuildResultsSummaryImpl()
Method Detail |
---|
@NotNull public java.lang.String getBuildKey()
BuildResultsSummary
getBuildKey
in interface BuildResultsSummary
public void setBuildKey(java.lang.String buildKey)
public BuildState getBuildState()
getBuildState
in interface ResultStatisticsProvider
public void setBuildState(BuildState buildState)
public int getBuildNumber()
getBuildNumber
in interface ResultStatisticsProvider
public void setBuildNumber(int buildNumber)
public java.util.Date getBuildDate()
getBuildDate
in interface ResultStatisticsProvider
public void setBuildDate(java.util.Date buildDate)
public java.util.Date getBuildCompletedDate()
BuildResultsSummary
getBuildCompletedDate
in interface BuildResultsSummary
public void setBuildCompletedDate(java.util.Date buildCompletedDate)
public long getDuration()
BuildResultsSummary
getDuration
in interface BuildResultsSummary
public void setDuration(long duration)
public DeltaState getDeltaState()
BuildResultsSummary
DeltaState
of the summary. It can be a build that fixes, breaks, failing, successfull. Provides a status
relative to the previous summary.
getDeltaState
in interface BuildResultsSummary
public void setDeltaState(DeltaState deltaState)
public java.util.Set<Commit> getCommits()
getCommits
in interface ExtendedBuildResultsSummary
public void setCommits(java.util.Set<Commit> commits)
public java.util.Set<java.lang.String> getJiraIssueKeys()
BuildResultsSummary
getJiraIssueKeys
in interface BuildResultsSummary
@NotNull public java.util.Set<LinkedJiraIssue> getJiraIssues()
BuildResultsSummary
getJiraIssues
in interface BuildResultsSummary
public void setJiraIssues(java.util.Set jiraIssues)
@NotNull public java.util.Map<java.lang.String,java.lang.String> getCustomBuildData()
BuildResultsSummary
getCustomBuildData
in interface BuildResultsSummary
public void setCustomBuildData(java.util.Map customBuildData)
public java.lang.Long getTimeToFix()
BuildResultsSummary
getTimeToFix
in interface BuildResultsSummary
public void setTimeToFix(java.lang.Long timeToFix)
public java.util.List getLabellings()
BuildResultsSummary
getLabellings
in interface BuildResultsSummary
public void setLabellings(java.util.List labellings)
@NotNull public java.util.List<java.lang.String> getLabelNames()
BuildResultsSummary
getLabelNames
in interface BuildResultsSummary
@NotNull public java.util.List<Comment> getComments()
BuildResultsSummary
getComments
in interface BuildResultsSummary
public boolean hasComments()
BuildResultsSummary
hasComments
in interface BuildResultsSummary
public void setComments(java.util.List comments)
@NotNull public java.util.Collection<ArtifactLink> getArtifactLinks()
BuildResultsSummary
getArtifactLinks
in interface BuildResultsSummary
public void setArtifactLinks(java.util.List<ArtifactLink> artifactLinks)
public java.util.Set getUniqueAuthors()
BuildResultsSummary
getUniqueAuthors
in interface BuildResultsSummary
Set
of Author
spublic java.lang.String getTriggerReasonKey()
public void setTriggerReasonKey(java.lang.String triggerReasonKey)
@NotNull public TriggerReason getTriggerReason()
BuildResultsSummary
getTriggerReason
in interface BuildResultsSummary
public void setTriggerReason(TriggerReason triggerReason)
public java.util.Date getQueueTime()
BuildResultsSummary
getQueueTime
in interface BuildResultsSummary
public long getQueueDuration()
BuildResultsSummary
getQueueDuration
in interface BuildResultsSummary
public void setQueueTime(java.util.Date queueTime)
public java.util.Date getVcsUpdateTime()
BuildResultsSummary
getVcsUpdateTime
in interface BuildResultsSummary
public long getVcsUpdateDuration()
BuildResultsSummary
getVcsUpdateDuration
in interface BuildResultsSummary
public void setVcsUpdateTime(java.util.Date vcsUpdateTime)
public java.lang.Long getBuildAgentId()
BuildResultsSummary
getBuildAgentId
in interface BuildResultsSummary
public void setBuildAgentId(java.lang.Long buildAgentId)
public java.lang.String getChangesListSummary()
getChangesListSummary
in interface ExtendedBuildResultsSummary
public double getDurationInSeconds()
getDurationInSeconds
in interface ResultStatisticsProvider
public int compareTo(BuildResultsSummary buildResultsSummary)
compareTo
in interface java.lang.Comparable<BuildResultsSummary>
public boolean equals(java.lang.Object object)
equals
in class com.atlassian.core.bean.EntityObject
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
public static void prefetchFromHibernate(ExtendedBuildResultsSummary buildResultsSummary)
ExtendedBuildResultsSummary
to be fully loaded
and relatively safe to use outside of the session. Should not be used when large numbers of builds are retrieved
and should be avoided if possible.
buildResultsSummary
- public void resetTestClassResults(@NotNull java.util.List<TestClassResult> testClassResults)
BuildResultsSummary
resetTestClassResults
in interface BuildResultsSummary
testClassResults
- to set@NotNull public FilteredTestResults getFilteredTestResults()
BuildResultsSummary
getFilteredTestResults
in interface BuildResultsSummary
@NotNull public TestResultsSummary getTestResultsSummary()
getTestResultsSummary
in interface BuildResultsSummary
public void setTestResultsSummary(@NotNull TestResultsSummary testResultsSummary)
BuildResultsSummary
setTestResultsSummary
in interface BuildResultsSummary
testResultsSummary
- the test summary information@Deprecated public long getFailedTestCount()
BuildResultsSummary
TestResultsSummary
(getTestResultsSummary().getFailedTestCaseCount()) instead
Number of failing tests
getFailedTestCount
in interface BuildResultsSummary
@Deprecated public long getSuccessfulTestCount()
BuildResultsSummary
TestResultsSummary
(getTestResultsSummary().getSuccessfulTestCaseCount())instead
Number of successful tests
getSuccessfulTestCount
in interface BuildResultsSummary
public java.lang.String getTestSummary()
getTestSummary
in interface BuildResultsSummary
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |