|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BuildResultsSummary
An interface which provides a database persisted version of the BuildResults
Method Summary | |
---|---|
java.util.Collection<ArtifactLink> |
getArtifactLinks()
Returns all artifacts. |
java.util.Collection<ArtifactLink> |
getArtifactLinksThatExist()
Returns only artifacts that exists |
java.lang.Long |
getBuildAgentId()
The agent Id |
java.util.Date |
getBuildCompletedDate()
When the build finished |
java.lang.String |
getBuildKey()
Full key of the plan. |
java.lang.String |
getBuildResultKey()
A full build result key e.g. |
java.lang.String |
getBuildTime()
Formatted buildDate. |
java.util.List<Comment> |
getComments()
Gets the associated user comments for the build |
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 |
java.lang.String |
getDurationDescription()
Returns the duration in a "pretty" format. |
long |
getFailedTestCount()
Deprecated. |
FilteredTestResults |
getFilteredTestResults()
Return a filtered view of all the tests that ran in this build. |
java.util.Set<LinkedJiraIssue> |
getFixingJiraIssues()
Return JIRA issues that this build result summary fixes |
long |
getId()
Database id of the result |
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<Labelling> |
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 |
PlanResultKey |
getPlanResultKey()
Gets the PlanResultKey for this BuildResultsSummary |
long |
getQueueDuration()
How long build was in the queue (in miliseconds) |
java.util.Date |
getQueueTime()
When the build queued |
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)
|
java.lang.String |
getShortReasonSummary()
|
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.util.Set<Author> |
getUniqueAuthors()
A shortcut method to get the unique set of authors contributing to this build. |
java.lang.String |
getVcsRevisionKey()
The string representing the revision when the build was run. |
long |
getVcsUpdateDuration()
How long checkout take (in miliseconds) |
java.util.Date |
getVcsUpdateTime()
When the source syncronisation was kicked off |
boolean |
hasChanges()
Whether a build had changes or not |
boolean |
hasComments()
Checks if the result has any user comments for the build |
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 |
resetTestClassResults(java.util.List<TestClassResult> testClassResults)
Overrides all current testClassResults with the new ones |
void |
setTestResultsSummary(TestResultsSummary testResultsSummary)
Set the test summary information from this build |
void |
setVcsRevisionKey(java.lang.String vcsRevisionKey)
|
Methods inherited from interface com.atlassian.bamboo.resultsummary.ResultStatisticsProvider |
---|
getBuildDate, getBuildNumber, getBuildState, getDurationInSeconds |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
long getId()
@NotNull PlanResultKey getPlanResultKey()
PlanResultKey
for this BuildResultsSummary
@NotNull java.lang.String getBuildKey()
@NotNull java.lang.String getBuildResultKey()
@NotNull TriggerReason getTriggerReason()
@Nullable java.lang.String getVcsRevisionKey()
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
void setVcsRevisionKey(java.lang.String vcsRevisionKey)
DeltaState getDeltaState()
DeltaState
of the summary. It can be a build that fixes, breaks, failing, successfull. Provides a status
relative to the previous summary.
long getDuration()
java.util.Date getBuildCompletedDate()
boolean isFailed()
ResultStatisticsProvider.getBuildState()
is BuildState.FAILED
boolean isSuccessful()
ResultStatisticsProvider.getBuildState()
is BuildState.SUCCESS
boolean isPending()
ResultStatisticsProvider.getBuildState()
is BuildState.PENDING
boolean isNotBuilt()
ResultStatisticsProvider.getBuildState()
is BuildState.NOT_BUILT
java.lang.Long getBuildAgentId()
@NotNull java.util.Map<java.lang.String,java.lang.String> getCustomBuildData()
@NotNull java.util.Set<LinkedJiraIssue> getJiraIssues()
@NotNull java.util.Set<LinkedJiraIssue> getFixingJiraIssues()
@NotNull java.util.Set<LinkedJiraIssue> getRelatedJiraIssues()
java.util.Set<java.lang.String> getJiraIssueKeys()
@NotNull java.util.List<Comment> getComments()
boolean hasComments()
java.util.List<Labelling> getLabellings()
@NotNull java.util.List<java.lang.String> getLabelNames()
java.util.Set<Author> getUniqueAuthors()
Set
of Author
sboolean hasChanges()
@Nullable java.lang.Long getTimeToFix()
@Deprecated long getFailedTestCount()
TestResultsSummary
(getTestResultsSummary().getFailedTestCaseCount()) instead
Number of failing tests
@Deprecated long getSuccessfulTestCount()
TestResultsSummary
(getTestResultsSummary().getSuccessfulTestCaseCount())instead
Number of successful tests
void resetTestClassResults(@NotNull java.util.List<TestClassResult> testClassResults)
testClassResults
- to set@NotNull FilteredTestResults getFilteredTestResults()
@NotNull TestResultsSummary getTestResultsSummary()
void setTestResultsSummary(@NotNull TestResultsSummary testResultsSummary)
testResultsSummary
- the test summary information@NotNull java.lang.String getDurationDescription()
java.lang.String getShortReasonSummary()
java.lang.String getReasonSummary()
java.lang.String getRelativeBuildDate()
java.lang.String getTestSummary()
java.lang.String getRelativeBuildDate(java.util.Date comparedTo)
java.lang.String getBuildTime()
@NotNull java.util.Collection<ArtifactLink> getArtifactLinks()
java.util.Collection<ArtifactLink> getArtifactLinksThatExist()
@Nullable java.util.Date getQueueTime()
long getQueueDuration()
@Nullable java.util.Date getVcsUpdateTime()
long getVcsUpdateDuration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |