|
||||||||||
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.resultsummary.AbstractResultsSummary com.atlassian.bamboo.index.BuildResultsSummaryDocument
public class BuildResultsSummaryDocument
A lucene implementation of an AbstractResultsSummary
which mirrors the BuildResultsSummary
object closely.
Field Summary | |
---|---|
static java.util.List<java.lang.String> |
CUSTOM_DATA_MAP_KEYS_TO_INDEX
|
static java.lang.String |
DOCTYPE_BUILD_RESULT
|
static java.lang.String |
FIELD_ARTIFACTS
|
static java.lang.String |
FIELD_AUTHORS
|
static java.lang.String |
FIELD_AUTHORS_LINKED_USER_SUFFIX
|
static java.lang.String |
FIELD_BUILD_AGENT_ID
|
static java.lang.String |
FIELD_BUILD_ID
|
static java.lang.String |
FIELD_BUILD_KEY
|
static java.lang.String |
FIELD_BUILD_NUMBER
|
static java.lang.String |
FIELD_BUILD_RESULT_ID
ID term that gets added to both test and build result documents |
static java.lang.String |
FIELD_COMMENT_CONTENT
|
static java.lang.String |
FIELD_COMMENT_DATE
|
static java.lang.String |
FIELD_COMMENT_USERNAME
|
static java.lang.String |
FIELD_COMPLETED_TIMESTAMP
|
static java.lang.String |
FIELD_CUSTOM_DATA_PREFIX
|
static java.lang.String |
FIELD_DELTA_STATE
|
static java.lang.String |
FIELD_DOC_TYPE
|
static java.lang.String |
FIELD_DURATION
|
static java.lang.String |
FIELD_ID
IF term that only gets addded build results documents |
static java.lang.String |
FIELD_JIRA_ISSUE_KEY
|
static java.lang.String |
FIELD_JIRA_ISSUE_KEY_FIXES
|
static java.lang.String |
FIELD_JIRA_PROJECT_KEY
|
static java.lang.String |
FIELD_LABELS
|
static java.lang.String |
FIELD_LIFE_CYCLE_STATE
|
static java.lang.String |
FIELD_PROCESSING_DURATION
|
static java.lang.String |
FIELD_QUEUE_TIME
|
static java.lang.String |
FIELD_STATE
|
static java.lang.String |
FIELD_TESTS_BROKEN_COUNT
|
static java.lang.String |
FIELD_TESTS_EXISTING_COUNT
|
static java.lang.String |
FIELD_TESTS_FAILED_COUNT
|
static java.lang.String |
FIELD_TESTS_FIXED_COUNT
|
static java.lang.String |
FIELD_TESTS_QUARANTINED_COUNT
|
static java.lang.String |
FIELD_TESTS_SUCCESS_COUNT
|
static java.lang.String |
FIELD_TESTS_TOTAL_COUNT
|
static java.lang.String |
FIELD_TIME_TO_FIX
|
static java.lang.String |
FIELD_TIMESTAMP
|
static java.lang.String |
FIELD_TIMESTAMP_DAY
|
static java.lang.String |
FIELD_TRIGGER_REASON_KEY
|
static java.lang.String |
FIELD_TYPE
|
static java.lang.String |
FIELD_VCS_REVISION_KEY
|
static java.lang.String |
FIELD_VCS_UPDATE_TIME
|
Fields inherited from class com.atlassian.bamboo.resultsummary.AbstractResultsSummary |
---|
buildState, lifeCycleState, markedForDeletion, planManagerRef, planManagerSupplier |
Fields inherited from class com.atlassian.bamboo.resultsummary.BaseResultSummary |
---|
DATE_FORMAT |
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject |
---|
id |
Constructor Summary | |
---|---|
BuildResultsSummaryDocument(org.apache.lucene.document.Document doc,
BuildResultsSummaryManager buildResultsSummaryManager)
|
Method Summary | |
---|---|
int |
compareTo(ResultsSummary obj)
|
boolean |
equals(java.lang.Object object)
|
java.util.Collection<ArtifactLink> |
getArtifactLinks()
Returns all artifacts associated with this build. |
ChainResultsSummary |
getChainResultsSummary()
Not available from Lucene |
java.util.List<Comment> |
getComments()
Gets the associated user comments for the build |
ExtraBuildResultsData |
getExtraBuildResultsData()
Allow access to ExtraBuildResultsData |
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<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 |
java.util.Collection<ArtifactLink> |
getProducedArtifactLinks()
Returns all artifacts produced by this build. |
long |
getQueueDuration()
How long build was in the queue (in miliseconds) |
java.util.Date |
getQueueTime()
Date when build was queued. |
java.util.Set<Author> |
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 |
int |
hashCode()
|
boolean |
isMarkedForDeletion()
|
boolean |
isNotRunYet()
Tells whether this result belongs to a job that will run when next manual stage is kicked off |
void |
resetTestClassResults(java.util.List<TestClassResult> testClassResults)
Overrides all current testClassResults with the new ones |
void |
setChainResultsSummary(ChainResultsSummary chainResultSummary)
|
void |
setMarkedForDeletion(boolean markedForDeletion)
|
void |
setQueueTime(java.util.Date queueTime)
|
void |
setVcsUpdateTime(java.util.Date vcsUpdateTime)
|
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.BambooObject |
---|
setId |
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider |
---|
getId |
Methods inherited from interface com.atlassian.bamboo.resultsummary.ResultStatisticsProvider |
---|
getBuildDate, getBuildNumber, getBuildState, getDurationInSeconds, getStatDate |
Field Detail |
---|
public static final java.lang.String FIELD_ID
public static final java.lang.String FIELD_BUILD_RESULT_ID
public static final java.lang.String FIELD_BUILD_NUMBER
public static final java.lang.String FIELD_BUILD_KEY
public static final java.lang.String FIELD_BUILD_ID
public static final java.lang.String FIELD_STATE
public static final java.lang.String FIELD_LIFE_CYCLE_STATE
public static final java.lang.String FIELD_TIMESTAMP
public static final java.lang.String FIELD_COMPLETED_TIMESTAMP
public static final java.lang.String FIELD_TIMESTAMP_DAY
public static final java.lang.String FIELD_DOC_TYPE
public static final java.lang.String DOCTYPE_BUILD_RESULT
public static final java.lang.String FIELD_DURATION
public static final java.lang.String FIELD_PROCESSING_DURATION
public static final java.lang.String FIELD_JIRA_ISSUE_KEY
public static final java.lang.String FIELD_JIRA_ISSUE_KEY_FIXES
public static final java.lang.String FIELD_JIRA_PROJECT_KEY
public static final java.lang.String FIELD_AUTHORS
public static final java.lang.String FIELD_AUTHORS_LINKED_USER_SUFFIX
public static final java.lang.String FIELD_TRIGGER_REASON_KEY
public static final java.lang.String FIELD_DELTA_STATE
public static final java.lang.String FIELD_LABELS
public static final java.lang.String FIELD_TIME_TO_FIX
public static final java.lang.String FIELD_VCS_REVISION_KEY
public static final java.lang.String FIELD_BUILD_AGENT_ID
public static final java.lang.String FIELD_ARTIFACTS
public static final java.lang.String FIELD_CUSTOM_DATA_PREFIX
public static final java.lang.String FIELD_COMMENT_CONTENT
public static final java.lang.String FIELD_COMMENT_USERNAME
public static final java.lang.String FIELD_COMMENT_DATE
public static final java.lang.String FIELD_TESTS_SUCCESS_COUNT
public static final java.lang.String FIELD_TESTS_FAILED_COUNT
public static final java.lang.String FIELD_TESTS_FIXED_COUNT
public static final java.lang.String FIELD_TESTS_QUARANTINED_COUNT
public static final java.lang.String FIELD_TESTS_BROKEN_COUNT
public static final java.lang.String FIELD_TESTS_EXISTING_COUNT
public static final java.lang.String FIELD_TESTS_TOTAL_COUNT
public static final java.lang.String FIELD_QUEUE_TIME
public static final java.lang.String FIELD_VCS_UPDATE_TIME
public static final java.lang.String FIELD_TYPE
public static final java.util.List<java.lang.String> CUSTOM_DATA_MAP_KEYS_TO_INDEX
Constructor Detail |
---|
public BuildResultsSummaryDocument(org.apache.lucene.document.Document doc, @NotNull BuildResultsSummaryManager buildResultsSummaryManager)
Method Detail |
---|
public java.util.Date getQueueTime()
AbstractResultsSummary
getQueueTime
in interface ResultsSummary
getQueueTime
in class AbstractResultsSummary
public long getQueueDuration()
BuildResultsSummary
getQueueDuration
in interface BuildResultsSummary
public void setQueueTime(java.util.Date queueTime)
setQueueTime
in interface ResultsSummary
setQueueTime
in class AbstractResultsSummary
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)
@NotNull public java.util.Set<LinkedJiraIssue> getJiraIssues()
ResultsSummary
getJiraIssues
in interface ResultsSummary
getJiraIssues
in class AbstractResultsSummary
public java.util.Set<java.lang.String> getJiraIssueKeys()
ResultsSummary
getJiraIssueKeys
in interface ResultsSummary
getJiraIssueKeys
in class BaseResultSummary
public java.util.Set<Author> getUniqueAuthors()
ResultsSummary
getUniqueAuthors
in interface ResultsSummary
getUniqueAuthors
in class BaseResultSummary
Set
of Author
s@NotNull public java.util.Collection<ArtifactLink> getArtifactLinks()
ResultsSummary
getArtifactLinks
in interface ResultsSummary
getArtifactLinks
in class AbstractResultsSummary
@NotNull public java.util.Collection<ArtifactLink> getProducedArtifactLinks()
BuildResultsSummary
getProducedArtifactLinks
in interface BuildResultsSummary
public java.util.List<Labelling> getLabellings()
ResultsSummary
getLabellings
in interface ResultsSummary
getLabellings
in class AbstractResultsSummary
@NotNull public java.util.List<java.lang.String> getLabelNames()
ResultsSummary
getLabelNames
in interface ResultsSummary
getLabelNames
in class BaseResultSummary
@NotNull public java.util.List<Comment> getComments()
ResultsSummary
getComments
in interface ResultsSummary
getComments
in class AbstractResultsSummary
public ChainResultsSummary getChainResultsSummary()
getChainResultsSummary
in interface BuildResultsSummary
public void setChainResultsSummary(@NotNull ChainResultsSummary chainResultSummary)
setChainResultsSummary
in interface BuildResultsSummary
@NotNull public FilteredTestResults getFilteredTestResults()
BuildResultsSummary
getFilteredTestResults
in interface BuildResultsSummary
public void resetTestClassResults(@NotNull java.util.List<TestClassResult> testClassResults)
ResultsSummary
resetTestClassResults
in interface ResultsSummary
resetTestClassResults
in class AbstractResultsSummary
testClassResults
- to setpublic boolean isMarkedForDeletion()
isMarkedForDeletion
in interface ImmutableDeletable
public void setMarkedForDeletion(boolean markedForDeletion)
setMarkedForDeletion
in interface Deletable
public boolean isNotRunYet()
ResultsSummary
isNotRunYet
in interface ResultsSummary
@Nullable public ExtraBuildResultsData getExtraBuildResultsData()
BuildResultsSummary
ExtraBuildResultsData
getExtraBuildResultsData
in interface BuildResultsSummary
public int hashCode()
hashCode
in class BaseResultSummary
public int compareTo(ResultsSummary obj)
compareTo
in interface java.lang.Comparable<ResultsSummary>
compareTo
in class BaseResultSummary
public boolean equals(java.lang.Object object)
equals
in class BaseResultSummary
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |