| Modifier and Type | Method and Description |
|---|---|
List<ResultsSummary> |
ExtendedAuthorManager.findBuildResultsBrokenByAuthor(ExtendedAuthor author,
int maxResultCount) |
List<ResultsSummary> |
ExtendedAuthorManager.findBuildResultsFailedByAuthor(ExtendedAuthor author,
int maxResultCount) |
List<ResultsSummary> |
ExtendedAuthorManager.findBuildResultsFixedByAuthor(ExtendedAuthor author,
int maxResultCount) |
List<ResultsSummary> |
ExtendedAuthorManager.findBuildResultsSuccessfulByAuthor(ExtendedAuthor author,
int maxResultCount) |
List<ResultsSummary> |
ExtendedAuthorManager.findBuildResultsTriggeredByAuthor(ExtendedAuthor author,
int maxResultCount) |
Collection<ResultsSummary> |
ExtendedAuthorManager.findLatestBuildBrokenByAuthorInEachPlan(ExtendedAuthor author)
Retrieves the last build broken by author for all the plans.
|
List<ResultsSummary> |
ExtendedAuthorManager.findRecentResultsTriggeredByAuthors(List<ExtendedAuthor> author,
int maxDays)
Retrieve all build results triggered by the author in the last X days
|
List<ResultsSummary> |
Author.getAllTriggeredBuildResults()
Gets all builds triggered by the author
|
List<ResultsSummary> |
ChangeAuthor.getAllTriggeredBuildResults() |
List<ResultsSummary> |
Author.getBreakages()
Get the build results broken by the author.
|
List<ResultsSummary> |
ChangeAuthor.getBreakages() |
List<ResultsSummary> |
AuthorDao.getBuildResultsBrokenByAuthor(ExtendedAuthor author,
int maxResultCount) |
List<ResultsSummary> |
AuthorDao.getBuildResultsFailedByAuthor(ExtendedAuthor author,
int maxResultCount) |
List<ResultsSummary> |
AuthorDao.getBuildResultsFixedByAuthor(ExtendedAuthor author,
int maxResultCount) |
List<ResultsSummary> |
AuthorDao.getBuildResultsSuccessfulByAuthor(ExtendedAuthor author,
int maxResultCount) |
List<ResultsSummary> |
AuthorDao.getBuildResultsTriggeredByAuthor(ExtendedAuthor author,
int maxResultCount) |
List<ResultsSummary> |
Author.getFailedBuilds()
Gets all the builds triggered by the author that failed.
|
List<ResultsSummary> |
ChangeAuthor.getFailedBuilds() |
List<ResultsSummary> |
Author.getFixes()
Get the build results fixed by the author
A build is deemed fixed by the author if the build they triggered was successful
and the previous one failed.
|
List<ResultsSummary> |
ChangeAuthor.getFixes() |
List<ResultsSummary> |
AuthorDao.getRecentResultsTriggeredByAuthors(List<ExtendedAuthor> author,
int maxDays)
Retrieve all build results triggered by the author in the last X days
|
List<ResultsSummary> |
Author.getSuccessfulBuilds()
Gets all the builds triggered by the author that was successful.
|
List<ResultsSummary> |
ChangeAuthor.getSuccessfulBuilds() |
List<ResultsSummary> |
Author.getTriggeredBuildResults()
Gets all builds triggered by the author
Depending on implementation number of results may be limited to arbitrary value
|
List<ResultsSummary> |
ChangeAuthor.getTriggeredBuildResults() |
| Modifier and Type | Method and Description |
|---|---|
void |
ChangeAuthor.addTriggeredBuildResult(ResultsSummary resultsSummary) |
Set<Author> |
AuthorDao.getAuthorsByResultSummary(ResultsSummary resultsSummary)
Retrieve unique set of authors that contributed to commits related to a given ResultsSummary
|
Set<Author> |
ExtendedAuthorManager.getAuthorsByResultSummary(ResultsSummary resultsSummary)
Retrieve unique set of authors that contributed to commits related to a given ResultsSummary
|
| Modifier and Type | Method and Description |
|---|---|
PartialList<ResultsSummary> |
JiraIssueResultsManager.findBuildResultsByJiraIssueKey(List<String> issueKeys,
int maxResults)
Finds a list of completed Build Results given issue keys
|
PartialList<? extends ResultsSummary> |
JiraIssueResultsManager.findBuildResultsByProjectKey(String projectKey,
int maxResults)
Finds completed Build Results given a project key
|
PartialList<? extends ResultsSummary> |
JiraIssueResultsManager.findBuildResultsByProjectKeys(List<String> projectKeys,
int maxResults)
Finds build results given a project keys
|
| Modifier and Type | Method and Description |
|---|---|
List<LinkedJiraIssue> |
JiraIssueResultsManager.findJiraIssuesForBuildResults(List<ResultsSummary> buildResults)
Finds a list of jira issues linked to the given build results
|
| Modifier and Type | Method and Description |
|---|---|
ResultsSummary |
ArtifactLink.getBuildResultsSummary() |
| Modifier and Type | Method and Description |
|---|---|
ArtifactLink |
ArtifactLinkDao.findArtifactLink(String label,
ResultsSummary resultsSummary)
Deprecated.
since 4.4 use #findArtifactLinks
|
Collection<ArtifactLink> |
ArtifactLinkDao.findArtifactLinks(String label,
ResultsSummary resultsSummary) |
Collection<ArtifactLink> |
ArtifactLinkDao.getArtifactLinks(ResultsSummary resultsSummary,
String linkType)
|
Collection<ArtifactLink> |
ArtifactLinkManager.getArtifactLinks(ResultsSummary resultsSummary,
String linkType)
|
Collection<ArtifactLink> |
ArtifactLinkManager.getArtifactLinksForLinkType(ResultsSummary resultsSummary,
String linkType)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ResultsSummary |
FailurePeriod.getBreakingBuild() |
ResultsSummary |
FailurePeriod.getFixingBuild() |
ResultsSummary |
FailurePeriod.getRemovedInBuild() |
| Modifier and Type | Method and Description |
|---|---|
void |
FailurePeriod.addFailingBuild(ResultsSummary build) |
void |
FailurePeriod.setBreakingBuild(ResultsSummary breakingBuild) |
void |
FailurePeriod.setFixingBuild(ResultsSummary fixingBuild) |
void |
FailurePeriod.setRemovedInBuild(ResultsSummary removedInBuild) |
| Modifier and Type | Method and Description |
|---|---|
void |
FailurePeriod.setAlsoFailingInBuilds(List<ResultsSummary> alsoFailingInBuilds) |
| Modifier and Type | Method and Description |
|---|---|
List<ResultsSummary> |
BuildResultsFilter.getResultsForPlan(ImmutablePlan plan)
Obtain a collection of
ResultsSummary for the specified plan
The number returned will depend on the filter applied. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ChainResultsSummary
Represents an execution result of a
Chain |
| Modifier and Type | Method and Description |
|---|---|
List<ResultsSummary> |
ImmutableChainResultsSummary.getOrderedJobResultSummaries()
Returns all jobs
ResultsSummary related to chain result summary
Summaries are ordered by stages |
| Modifier and Type | Method and Description |
|---|---|
ResultsSummary |
Comment.getResultsSummary()
Deprecated.
since 5.0 use com.atlassian.bamboo.resultsummary.ResultsSummaryManager.getResultsSummary(getEntityId())
The build result the comment was added to
|
| Modifier and Type | Method and Description |
|---|---|
Comment |
CommentManager.addComment(String content,
ResultsSummary resultsSummary,
com.atlassian.user.User user)
Deprecated.
since 5.0 use addComment(content, user, resultsSummary.getId)
|
void |
CommentManager.deleteComment(Comment comment,
ResultsSummary resultsSummary)
Deprecated.
since 5.0 use deleteComment(comment)
|
void |
CommentService.deleteComment(Comment comment,
ResultsSummary resultsSummary)
Deprecated.
since 5.0 use deleteComment(comment)
|
void |
Comment.setResultsSummary(ResultsSummary resultsSummary)
Deprecated.
since 5.0 use setEntityId(resultSummary.getId())
|
| Modifier and Type | Method and Description |
|---|---|
Set<Commit> |
CommitManager.getCommitsForResult(ResultsSummary resultsSummary) |
List<Commit> |
CommitDao.getCommitsForResult(ResultsSummary resultsSummary) |
| Modifier and Type | Method and Description |
|---|---|
void |
BuildResultsIndexer.deIndexBuildResults(ResultsSummary summary,
boolean includeTests) |
void |
BuildResultsIndexer.indexResultSummary(ResultsSummary summary,
ImmutablePlan plan)
Schedules indexing of result summary
|
void |
BuildResultsIndexer.reIndexBuildResults(ResultsSummary summary,
ImmutablePlan plan,
boolean includeTests) |
void |
BuildResultsIndexer.reIndexBuildResults(ResultsSummary summary,
ImmutablePlan plan,
Set<String> affectedJiraIssuesKeys,
boolean includeTests) |
| Modifier and Type | Method and Description |
|---|---|
ResultsSummary |
LinkedJiraIssue.getResultsSummary()
Get
ResultsSummary to which this LinkedJiraIssue applies (DB field) |
| Modifier and Type | Method and Description |
|---|---|
void |
LinkedJiraIssue.setResultsSummary(ResultsSummary resultsSummary)
Set
ResultsSummary to which this LinkedJiraIssue applies (DB field) |
| Modifier and Type | Method and Description |
|---|---|
ResultsSummary |
Labelling.getBuildResultsSummary() |
| Modifier and Type | Method and Description |
|---|---|
List<ResultsSummary> |
LabelManager.findBuildResultsSummaryByLabel(String labelName)
Finds all
ResultsSummary labelled with given labelname |
List<ResultsSummary> |
LabelDao.findResultsSummaryByNameAndNamespace(String name,
String namespace) |
| Modifier and Type | Method and Description |
|---|---|
Labelling |
LabelDao.findLabellingByResultsSummary(Label label,
ResultsSummary resultsSummary) |
Labelling |
LabelDao.findLabellingByResultsSummary(String name,
String namespace,
ResultsSummary buildResultsSummary) |
Set<String> |
LabelDao.getResultSummaryLabelNames(ResultsSummary resultsSummary)
Get names of labels related to result summary
|
boolean |
LabelManager.hasBuildResultsLabel(ResultsSummary buildResultsSummary,
String label)
Checks whether the build results summary has a particular label
|
void |
Labelling.setBuildResultsSummary(ResultsSummary resultsSummary) |
| Modifier and Type | Method and Description |
|---|---|
void |
NotificationRecipient.RequiresResultSummary.setResultsSummary(ResultsSummary resultSummary) |
| Modifier and Type | Method and Description |
|---|---|
ResultsSummary |
Plan.getLatestResultsSummary() |
ResultsSummary |
PlanPermissionSkeleton.getLatestResultsSummary()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ResultsSummary |
ConsumedSubscription.getConsumerResultSummary() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.Multimap<ResultsSummary,ConsumedSubscription> |
ArtifactSubscriptionManager.getConsumedSubscriptions(ResultsSummary resultsSummary)
Returns list of
ConsumedSubscription ordered by order of ResultsSummary execution. |
| Modifier and Type | Method and Description |
|---|---|
List<ConsumedSubscription> |
ConsumedSubscriptionDao.findConsumedSubscriptionsByResultSummary(ResultsSummary resultsSummary)
Get list of artifact subscriptions associated with a plan
|
com.google.common.collect.Multimap<ResultsSummary,ConsumedSubscription> |
ArtifactSubscriptionManager.getConsumedSubscriptions(ResultsSummary resultsSummary)
Returns list of
ConsumedSubscription ordered by order of ResultsSummary execution. |
void |
ConsumedSubscription.setConsumerResultSummary(ResultsSummary consumerResultsSummary) |
| Modifier and Type | Method and Description |
|---|---|
List<ResultsSummary> |
ChainResultDetails.getOrderedJobResultSummaries()
Returns job results ordered by stage and then plan names
|
| Modifier and Type | Method and Description |
|---|---|
TriggerReason |
TriggerManager.getTriggerReason(String key,
ResultsSummary resultsSummary) |
TriggerReasonRenderer |
TriggerManager.getTriggerReasonRenderer(TriggerReason triggerReason,
ResultsSummary resultsSummary) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RepositoryConfigurationService.validateRestartableStatus(ResultsSummary resultSummary) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BuildResultsSummary
An interface which provides a database persisted version of the
BuildResults |
| Modifier and Type | Field and Description |
|---|---|
protected Class<? extends ResultsSummary> |
MutableExpiryCriteria.resultsSummaryClass |
| Modifier and Type | Method and Description |
|---|---|
<T extends ResultsSummary> |
ResultsSummaryManager.createResultsSummary(BuildContext buildContext,
Class<T> aClass)
Creates a
ResultsSummary of the given Class |
<T extends ResultsSummary> |
BuildResultsSummaryManager.createResultsSummary(ChainResultsSummary chainResultsSummary,
BuildContext buildContext,
Class<T> aClass)
Deprecated.
|
<T extends ResultsSummary> |
ResultsSummaryManager.findFirstResultAfter(PlanResultKey planResultKey,
Class<T> aClass)
Finds the first
ResultsSummary after a specified build which is either FINISHED or can be FINISHED, i.e. |
<T extends ResultsSummary> |
BuildResultsSummaryDao.findFirstResultAfter(String planKey,
int buildNumber,
Class<T> aClass)
Finds the first successful or failed
BuildResultsSummary after buildNumber |
<T extends ResultsSummary> |
ResultsSummaryManager.findLastBuildResultBeforeWithTests(PlanResultKey planResultKey,
Class<T> aClass,
boolean includeOnceOffBuilds)
Finds the last successful or failing
BuildResultsSummary before buildNumber |
<T extends ResultsSummary> |
BuildResultsSummaryDao.findLastBuildResultBeforeWithTests(PlanResultKey planResultKey,
Class<T> aClass,
boolean includeOnceOffBuilds) |
<T extends ResultsSummary> |
ResultsSummaryManager.findLastResultBefore(PlanResultKey planResultKey,
Class<T> aClass)
Finds the last successful or failing
ResultsSummary before planResultKey.getBuildNumber |
<T extends ResultsSummary> |
ResultsSummaryManager.findLastResultBefore(PlanResultKey planResultKey,
Class<T> aClass,
boolean includeOnceOffBuilds)
Finds the last
ResultsSummary before planResultKey.getBuildNumber |
<T extends ResultsSummary> |
BuildResultsSummaryDao.findLastResultBefore(String planKey,
int buildNumber,
Class<T> aClass,
boolean includeOnceOffBuilds)
Finds the last successful or failed
ResultsSummary before buildNumber |
<T extends ResultsSummary> |
ResultsSummaryManager.findLastResultSummaryWithState(PlanKey planKey,
BuildState buildState,
Class<T> aClass) |
<T extends ResultsSummary> |
BuildResultsSummaryDao.findLastResultSummaryWithState(PlanKey planKey,
BuildState buildState,
Class<T> aClass) |
<T extends ResultsSummary> |
BuildResultsSummaryDao.findResultsSummaries(ResultsSummaryCriteria criteria)
Searches for
ResultsSummary objects given a ResultsSummaryCriteria. |
<T extends ResultsSummary> |
BuildResultsSummaryDao.findResultSummariesForExpiry(ExpiryCriteria criteria)
Searches for
ResultsSummary objects given a ExpiryCriteria. |
<T extends ResultsSummary> |
ResultsSummaryManager.getAllActiveResultSummariesForPlan(PlanKey planKey,
Class<T> aClass)
Returns all the
ResultsSummary in a LifeCycleState.IN_PROGRESS state |
<T extends ResultsSummary> |
BuildResultsSummaryDao.getAllActiveResultSummariesForPlan(PlanKey planKey,
Class<T> aClass)
Returns all the
ResultsSummary in a LifeCycleState.PENDING, LifeCycleState.QUEUED, LifeCycleState.IN_PROGRESS state with the given Class
See also LifeCycleState.isActive(LifeCycleState) and ImmutableResultsSummary.isActive() |
<T extends ResultsSummary> |
BuildResultsSummaryDao.getAllBuildResultSummariesInBuildState(BuildState state,
Class<T> aClass)
Returns all the
BuildResultsSummary in requested build state. |
<T extends ResultsSummary> |
BuildResultsSummaryDao.getAllBuildResultSummariesInLifeCycleState(LifeCycleState state,
Class<T> aClass)
Returns all the
BuildResultsSummary in requested lifecycle state. |
<T extends ResultsSummary> |
ResultsSummaryManager.getAllBuildResultSummariesInUnknownState(Class<T> aClass)
Returns all the
BuildResultsSummary in a BuildState.UNKNOWN
state |
<T extends ResultsSummary> |
BuildResultsSummaryDao.getAllBuildResultSummariesInUnknownState(Class<T> aClass)
Returns all the
BuildResultsSummary in a BuildState.UNKNOWN
state
This will not return records marked for deletion. |
<T extends ResultsSummary> |
ResultsSummaryManager.getAllInProgressResultSummaries(Class<T> aClass)
Returns all the
ResultsSummary in a LifeCycleState.IN_PROGRESS state |
<T extends ResultsSummary> |
BuildResultsSummaryDao.getAllInProgressResultSummaries(Class<T> aClass)
Returns all the
ResultsSummary in a LifeCycleState.IN_PROGRESS state with the given Class
This will not return records marked for deletion. |
<T extends ResultsSummary> |
ResultsSummaryManager.getAllPendingResultSummaries(Class<T> aClass)
Returns all the
ResultsSummary in a LifeCycleState.PENDING state |
<T extends ResultsSummary> |
BuildResultsSummaryDao.getAllPendingResultSummaries(Class<T> aClass)
Returns all the
ResultsSummary in a LifeCycleState.PENDING state with the given Class
This will not return records marked for deletion. |
<T extends ResultsSummary> |
ResultsSummaryManager.getAllQueuedResultSummaries(Class<T> aClass)
Returns all the
ResultsSummary in a LifeCycleState.QUEUED state |
<T extends ResultsSummary> |
BuildResultsSummaryDao.getAllQueuedResultSummaries(Class<T> aClass)
Returns all the
ResultsSummary in a LifeCycleState.QUEUED state with the given Class
This will not return records marked for deletion. |
<T extends ResultsSummary> |
BuildResultsSummaryDao.getAllResultSummariesForPlan(Plan plan)
Get all the
ResultsSummarys for the given Plan |
<T extends ResultsSummary> |
ResultsSummaryManager.getFinalizedResultSummariesForPlan(PlanKey planKey,
Class<T> aClass,
int firstResult,
int maxResults)
Returns all the
ResultsSummary in a LifeCycleState.FINISHED or LifeCycleState.NOT_BUILT state with the given Class. |
<T extends ResultsSummary> |
BuildResultsSummaryDao.getFinalizedResultSummariesForPlan(PlanKey planKey,
Class<T> aClass,
int firstResult,
int maxResults)
Returns all the
ResultsSummary in a LifeCycleState.FINISHED or LifeCycleState.NOT_BUILT state with the given Class. |
<T extends ResultsSummary> |
ResultsSummaryManager.getLastResultsSummary(String planKey,
Class<T> aClass)
Get the last
ResultsSummary for planKey and Class |
<T extends ResultsSummary> |
BuildResultsSummaryDao.getLastResultSummary(String planKey,
Class<T> aClass)
Returns the latest completed
ResultsSummary for the plan represented by planKey |
<T extends ResultsSummary> |
ResultsSummaryManager.getResultsSummary(PlanResultKey planResultKey,
Class<T> aClass)
Lookup
ResultsSummary by PlanResultKey and expected type |
<T extends ResultsSummary> |
BuildResultsSummaryDao.getResultsSummary(PlanResultKey planResultKey,
Class<T> aClass)
Lookup
ResultsSummary by PlanResultKey and expected type |
<T extends ResultsSummary> |
ResultsSummaryManager.getResultsSummary(PlanResultKey planResultKey,
Class<T> aClass,
ResultDataRead dataRead)
Lookup
ResultsSummary by PlanResultKey and expected type. |
<T extends ResultsSummary> |
BuildResultsSummaryDao.getResultsSummary(PlanResultKey planResultKey,
Class<T> aClass,
ResultDataRead dataRead)
Lookup
ResultsSummary by PlanResultKey and expected type, all lazy initialized collections can be eagerly read |
<T extends ResultsSummary> |
ResultsSummaryManager.getResultSummaries(ResultsSummaryCriteria criteria)
Generic search to find any result summaries bases on the criteria provided.
|
<T extends ResultsSummary> |
ResultsSummaryManager.getResultSummariesByChangeSetId(String changeSetId,
Class<T> discriminator)
Get a list of all build results containing a commit with the given change set ID.
|
<T extends ResultsSummary> |
BuildResultsSummaryDao.getResultSummariesByChangeSetId(String changeSetId,
Class<T> discriminator)
Get a list of all build results containing a commit with the given change set ID.
|
<T extends ResultsSummary> |
ResultsSummaryManager.getResultSummariesByChangeSetIdAndRepository(long repositoryId,
String changeSetId,
Class<T> discriminator)
Get a list of all build results containing a commit with the given change set ID that are in the given repository.
|
<T extends ResultsSummary> |
BuildResultsSummaryDao.getResultSummariesByChangeSetIdAndRepository(long repositoryId,
String changeSetId,
Class<T> discriminator)
Get a list of all build results containing a commit with the given change set ID that are in the given repository.
|
<T extends ResultsSummary> |
ResultsSummaryManager.getResultSummariesByChangeSetIds(Iterable<Pair<String,RepositoryData>> changeSetIds,
Class<T> discriminator)
Get a list of all build results containing a commit with any of the given change set IDs and which are in the supplied list of repository datas.
|
<T extends ResultsSummary> |
ResultsSummaryManager.getResultSummariesByChangeSetIds(List<String> changeSetIds,
Class<T> discriminator)
Get a list of all build results containing a commit with any of the given change set IDs.
|
<T extends ResultsSummary> |
BuildResultsSummaryDao.getResultSummariesByChangeSetIds(List<String> changeSetIds,
Class<T> discriminator)
Get a list of all build results containing a commit with any of the given change set IDs.
|
<T extends ResultsSummary> |
ResultsSummaryManager.getResultSummariesForExpiry(ExpiryCriteria expiryCriteria)
Searches for
result summaries according to the given criteria for
use in build expiry. |
<T extends ResultsSummary> |
ResultsSummaryManager.getResultSummariesForPlan(ImmutablePlan plan,
int firstResult,
int maxResults)
|
<T extends ResultsSummary> |
BuildResultsSummaryDao.getResultSummariesForPlan(ImmutablePlan plan,
int firstResult,
int maxResults)
Get the
ResultsSummarys for the given Plan. |
<T extends ResultsSummary> |
ResultsSummaryManager.getResultSummariesForPlanByLifeCycleState(Plan plan,
LifeCycleState lifeCycleState,
int firstResult,
int maxResults)
Get the
ResultsSummarys for the given Plan in give LifeCycleState that are Results are sorted by build number (descending). |
<T extends ResultsSummary> |
BuildResultsSummaryDao.getResultSummariesForPlanByLifeCycleState(Plan plan,
LifeCycleState lifeCycleState,
int firstResult,
int maxResults)
Get the
ResultsSummarys for the given Plan in give LifeCycleState that are Results are
sorted by build number (descending). |
| Modifier and Type | Method and Description |
|---|---|
ResultsSummary |
BuildResultsSummaryDao.findFirstBuildResultWithBuildStateAfter(String planKey,
int buildNumber,
BuildState buildState)
Finds the last successful
BuildResultsSummary after buildNumber |
ResultsSummary |
BuildResultsSummaryDao.findFirstBuildResultWithBuildStateBetween(String planKey,
int lowerBuildNumber,
int upperBuildNumber,
BuildState buildState)
Returns the first build that matches
BuildState between the given build number range
Note that this function is inclusive of the upper and lower bound |
ResultsSummary |
ResultsSummaryManager.findFirstFailedBuildResultAfter(String buildKey,
int buildNumber)
Finds the first failed
ResultsSummary after buildNumber |
ResultsSummary |
ResultsSummaryManager.findFirstFailedBuildResultBetween(ImmutablePlan build,
int lowerBuildNumber,
int upperBuildNumber)
Finds the first failed build between the upper and lower build numbers inclusively.
|
ResultsSummary |
ResultsSummaryManager.findFirstSuccessfulBuildResultAfter(PlanResultKey planResultKey)
Finds the last successful
ResultsSummary after buildNumber |
ResultsSummary |
ResultsSummaryManager.findFirstSuccessfulBuildResultAfter(String buildKey,
int buildNumber)
Deprecated.
|
ResultsSummary |
ResultsSummaryManager.findLastBuildResultBefore(String buildKey,
int buildNumber)
Finds the last successful or failing
BuildResultsSummary before buildNumber |
ResultsSummary |
BuildResultsSummaryDao.findLastBuildResultWithBuildStateBefore(String planKey,
int buildNumber,
BuildState buildState)
Finds the last
BuildResultsSummary before buildNumber with BuildState |
ResultsSummary |
ResultsSummaryManager.findLastFailingBuildResultBefore(ImmutablePlan build,
int buildNumber)
Finds the last failing
ResultsSummary before buildNumber |
ResultsSummary |
ResultsSummaryManager.findLastSuccessfulBuildResultBefore(ImmutablePlan build,
int buildNumber)
Deprecated.
Use
ResultsSummaryManager.findLastSuccessfulBuildResultBefore(PlanResultKey) instead. Since v5.2. |
ResultsSummary |
ResultsSummaryManager.findLastSuccessfulBuildResultBefore(PlanResultKey planResultKey)
Finds the last successful
ResultsSummary before build |
ResultsSummary |
ResultsSummaryManager.getBreakingBuild(ResultsSummary buildResultsSummary)
Returns the first failing build after the last successful build.
|
ResultsSummary |
BuildResultsSummaryDao.getBreakingBuild(ResultsSummary summary) |
ResultsSummary |
ResultsSummaryManager.getFixingBuild(ResultsSummary buildResultsSummary)
Returns the first successful
ResultsSummary for given ResultsSummary. |
ResultsSummary |
BuildResultsSummaryDao.getFixingBuild(ResultsSummary summary)
Returns the first successful
BuildResultsSummary for given BuildResultsSummary. |
ResultsSummary |
ResultsSummaryManager.getLastSuccessfulResultSummary(PlanKey planKey)
Get the last successful
ResultsSummary for planKey |
ResultsSummary |
ResultsSummaryManager.getResultsSummary(long id)
Lookup the ResultsSummary by id
|
ResultsSummary |
ResultsSummaryManager.getResultsSummary(PlanResultKey planResultKey)
Lookup the ResultsSummary by
PlanResultKey |
ResultsSummary |
ResultsSummaryManager.getResultsSummary(PlanResultKey planResultKey,
ResultDataRead dataRead)
Lookup the ResultsSummary by
PlanResultKey. |
ResultsSummary |
ResultsSummaryManager.resetResultSummary(BuildResultsSummary resultsSummary)
Prepare result summry to be reuse for plan rerun
|
| Modifier and Type | Method and Description |
|---|---|
List<ResultsSummary> |
BuildResultsSummaryDao.findBuildResultsSummariesByJiraIssues(List<String> issueKeys)
Get a list of results summaries associated with the list of issue keys.
|
List<ResultsSummary> |
BuildResultsSummaryDao.findBuildResultsSummariesByProjectKey(String jiraProjectKey)
Retrieve a list of results summaries associated with given JIRA project key
This will not return records marked for deletion.
|
List<ResultsSummary> |
BuildResultsSummaryDao.findLatestFailedResultSummaries()
Find the failed result summaries for all TopLevelPlans in Bamboo that have occurred
in the last X days, where x is the constant NUMBER_OF_DAYS_TO_FILTER
|
List<ResultsSummary> |
BuildResultsSummaryDao.findLatestResultsSummaries()
Find the result summaries for all TopLevelPlans in Bamboo that have occurred
in the last X days, where x is the constant NUMBER_OF_DAYS_TO_FILTER
|
List<? extends ResultsSummary> |
ResultsSummaryManager.findResultsSummariesByJiraIssues(List<String> issueKeys)
Finds a list of results which are linked to the given issue keys
|
List<? extends ResultsSummary> |
ResultsSummaryManager.findResultsSummariesByProjectKey(String projectKey)
Provide a list of results which are linked to any issues under the given jira project key
|
List<ResultsSummary> |
ResultsSummaryManager.getLastNFailedResultsSummaries(Plan build,
int numberOfResults)
Returns the most recent n failed build results.
|
List<ResultsSummary> |
ResultsSummaryManager.getLastNResultsSummaries(ImmutablePlan plan,
int numberOfResults)
Provides a list of the latest N results summaries for the given plan, newest first.
|
List<ResultsSummary> |
ResultsSummaryManager.getLatestFailedResultSummaries()
Retrieve list of failed build results (for all builds) in the last few days (number of days is specified in the
DAO) This method is filtered to remove results that user doesn't have permission to see
|
List<ResultsSummary> |
ResultsSummaryManager.getLatestResultSummaries()
Retrieve list of build results (for all builds) in the last few days (number of days is specified in the DAO)
This method is filtered to remove results that user doesn't have permission to see
|
List<ResultsSummary> |
ResultsSummaryManager.getNeighbouringSummaries(ImmutablePlan plan,
int buildNumber,
int neighbouringSummariesMaxCount)
Returns all the
ResultsSummary objects that matches the passed build numbers |
List<ResultsSummary> |
BuildResultsSummaryDao.getNeighbouringSummaries(ImmutablePlan plan,
int currentBuildNumber,
int neighbouringSummariesMaxCount)
Returns build results "around" given build number
|
List<ResultsSummary> |
ResultsSummaryManager.getNeighbouringSummaries(Plan plan,
int buildNumber)
Returns all the
ResultsSummary objects that matches the passed build numbers |
List<ResultsSummary> |
BuildResultsSummaryDao.getNeighbouringSummaries(Plan plan,
int currentBuildNumber)
Returns build results "around" given build number
|
Class<? extends ResultsSummary> |
MutableExpiryCriteria.getResultsSummaryClass() |
Class<? extends ResultsSummary> |
ExpiryCriteria.getResultsSummaryClass()
The actual class of returned result summaries (eg.
|
Class<? extends ResultsSummary> |
ResultsSummaryCriteria.getResultSummaryClass() |
| Modifier and Type | Method and Description |
|---|---|
void |
ResultsSummaryManager.addVariableContextSnapshotToResultSummary(ResultsSummary resultsSummary,
VariableContext variableContext)
Adds state of global and plan variables to result at the beginning of execution.
|
void |
ResultsSummaryManager.calculateAndSetDeltaState(ResultsSummary resultsSummary)
Figures out the delta state for the provided results summary, if a 'fixing' build
will also calculate how long it took to fix.
|
void |
ResultsSummaryManager.clearVariablesOnRerunBuild(ResultsSummary resultSummary)
Clear stored stage manual variables when build is fully rerun.
|
ResultsSummary |
ResultsSummaryManager.getBreakingBuild(ResultsSummary buildResultsSummary)
Returns the first failing build after the last successful build.
|
ResultsSummary |
BuildResultsSummaryDao.getBreakingBuild(ResultsSummary summary) |
ResultsSummary |
ResultsSummaryManager.getFixingBuild(ResultsSummary buildResultsSummary)
Returns the first successful
ResultsSummary for given ResultsSummary. |
ResultsSummary |
BuildResultsSummaryDao.getFixingBuild(ResultsSummary summary)
Returns the first successful
BuildResultsSummary for given BuildResultsSummary. |
ChainResultsSummary |
ResultsSummaryManager.getParentResultSummary(ResultsSummary resultsSummary)
Get (@link ChainResultsSummary} containing given
ResultsSummary |
ChainResultsSummary |
BuildResultsSummaryDao.getParentResultSummary(ResultsSummary summary)
Get (@link ChainResultsSummary} containing given
ResultsSummary |
ChainStageResult |
ResultsSummaryManager.getStageForResult(ResultsSummary resultsSummary)
Get (@link ChainStageResult} containing given
ResultsSummary |
ChainStageResult |
BuildResultsSummaryDao.getStageForResult(ResultsSummary resultsSummary)
Get (@link ChainStageResult} containing given
ResultsSummary |
void |
ResultsSummaryManager.logSubstitutedVariables(BuildContext buildContext,
ResultsSummary resultsSummary)
Adds variable substitution result to
ResultsSummary
This method logs substitution after it was performed and will use only REALLY substituted values |
void |
ResultsSummaryManager.logVariablesForSubstitution(BuildContext buildContext,
ResultsSummary resultsSummary)
Adds expected variable substitution to
ResultsSummary
This method logs substitution before build was performed and is used basically to log substitution against plan result
as there will be no possibility to track it afterwards |
void |
ResultsSummaryManager.postBuildVariableSnapshotUpdate(ResultsSummary resultsSummary,
VariableContext variableContext)
Saves result variables produced in a job.
|
void |
ResultsSummaryManager.removeArtifacts(ResultsSummary resultsSummary)
Remove any artifacts stored for this plan result
|
void |
ResultsSummaryManager.removeBuildLogs(ResultsSummary resultsSummary)
Remove any build logs stored for this plan result
|
void |
ResultsSummaryManager.removeBuildLogs(ResultsSummary resultsSummary,
long maxIgnoredLogSize)
Remove build logs stored for this plan result that are greater than given size (in bytes).
|
void |
ResultsSummaryManager.removeMatchingArtifacts(ResultsSummary resultsSummary,
com.google.common.base.Predicate<ArtifactLink> predicate)
Remove artifacts from results summary that match a predicate.
|
void |
BuildResultsSummaryDao.removeResultsSummary(ResultsSummary buildResultsSummary)
Removes the passed result summary
|
void |
ResultsSummaryManager.removeResultSummary(Plan plan,
ResultsSummary resultsSummary)
Remove plan result summary and all associated objects.
|
void |
ResultsSummaryManager.saveResultSummary(ResultsSummary resultsSummary)
Saves the
ResultsSummary |
void |
ResultsSummaryManager.updateCancelledDetails(ResultsSummary resultsSummary)
Deprecated.
since 5.4 use
com.atlassian.bamboo.resultsummary.ResultSummaryHelper#updateCancellationDetails(ResultsSummary, com.atlassian.bamboo.v2.build.BuildCancelledDetails) and ResultsSummaryManager.saveResultSummary(ResultsSummary) |
void |
ResultsSummaryManager.updateLifeCycleState(ResultsSummary resultsSummary,
LifeCycleState lifeCycleState,
BuildState buildState)
Update LifeCycleState and saves the given
ResultsSummary |
void |
ResultsSummaryManager.updateVariablesOnContinuedBuild(ResultsSummary resultsSummary,
VariableContext variableContext)
Add manual variables added when starting manual stage or restarting failed stage.
|
| Modifier and Type | Method and Description |
|---|---|
List<LinkedJiraIssue> |
ResultsSummaryManager.findJiraIssuesForResults(List<ResultsSummary> buildResults)
Retrieves a list of
LinkedJiraIssue linked to the given build result summaries |
List<LinkedJiraIssue> |
BuildResultsSummaryDao.getJiraIssuesForBuildResults(List<ResultsSummary> buildResults)
Retrieves a list of
LinkedJiraIssue linked to the given build result summaries |
long |
ResultsSummaryManager.scrollResultSummaries(String buildKey,
com.google.common.base.Function<ResultsSummary,Void> function)
Scroll through and execute function for each of BuildResultsSummary
Objects passed to function are not fully initialized.
|
long |
ResultsSummaryManager.scrollResultSummaries(String buildKey,
ResultDataRead resultDataRead,
com.google.common.base.Function<ResultsSummary,Void> function)
Scroll through and execute function for each of ResultsSummary (Build and Chain)
Objects passed to function are not fully initialized.
|
long |
BuildResultsSummaryDao.scrollResultSummaries(String buildKey,
ResultDataRead resultDataRead,
com.google.common.base.Function<ResultsSummary,Void> function)
Scroll through and execute function for each of ResultsSummary (Build and Chain)
Objects passed to function are not fully initialized.
|
ResultsSummaryCriteriaBuilder |
ResultsSummaryCriteriaBuilder.setResultSummaryClass(Class<? extends ResultsSummary> resultSummaryClass) |
void |
ResultsSummaryCriteria.setResultSummaryClass(Class<? extends ResultsSummary> resultSummaryClass) |
void |
BuildResultsSummaryCriteria.setResultSummaryClass(Class<? extends ResultsSummary> resultSummaryClass) |
| Constructor and Description |
|---|
ResultsSummaryCriteria(Class<? extends ResultsSummary> resultSummaryClass) |
| Modifier and Type | Method and Description |
|---|---|
ResultsSummary |
IndexedBuildResultsSearcher.findLatestRelevantBuildResult(PlanIdentifier plan,
Long beforeLastCompletedTimestamp)
Find the last finished build of a plan that completed before given time
|
| Modifier and Type | Method and Description |
|---|---|
List<ResultsSummary> |
IndexedBuildResultsSearcher.search(Map<String,String[]> params) |
PartialList<ResultsSummary> |
IndexedBuildResultsSearcher.search(org.apache.lucene.search.Query q,
int maxResults)
Returns a list of
ResultsSummary that matches the query up to maxResults |
| Modifier and Type | Method and Description |
|---|---|
List<TestCaseResult> |
TestCaseResultDao.getTestsForBuildResultByDeltaState(ResultsSummary summary,
TestDeltaState deltaState,
int firstResult,
int maxCount)
Retrieves a list of testCaseResults for a BuildResultSummary based on their delta state (e.g BROKEN, FIXED)
|
List<TestCaseResult> |
TestCaseResultDao.getTestsForBuildResultByState(ResultsSummary summary,
TestState state)
Retrieves a list of testCaseResults for a BuildResultSummary based on their state (e.f FAILED or SUCCESS)
|
List<TestCaseResult> |
TestCaseResultDao.getTestsForBuildResultByState(ResultsSummary summary,
TestState state,
int firstResult,
int maxCount)
Retrieves a list of testCaseResults for a BuildResultSummary based on their state (e.f FAILED or SUCCESS).
|
| Modifier and Type | Method and Description |
|---|---|
ResultsSummary |
RepositoryChangeset.getResultsSummary() |
| Modifier and Type | Method and Description |
|---|---|
void |
RepositoryChangeset.setResultsSummary(ResultsSummary resultsSummary) |
| Modifier and Type | Method and Description |
|---|---|
void |
TriggerReasonRenderer.init(com.atlassian.plugin.ModuleDescriptor moduleDescriptor,
TriggerReason triggerReason,
ResultsSummary resultsSummary) |
void |
ManualBuildTriggerReason.init(String key,
ResultsSummary resultsSummary) |
void |
DependencyTriggerReason.init(String key,
ResultsSummary resultsSummary) |
void |
TriggerReason.init(String key,
ResultsSummary resultsSummary)
Initializes the
TriggerReason using data from the ResultsSummary |
void |
UnknownTriggerReason.init(String key,
ResultsSummary resultsSummary) |
void |
ChildDependencyTriggerReason.init(String key,
ResultsSummary resultsSummary) |
void |
CustomRevisionBuildTriggerReason.init(String key,
ResultsSummary resultsSummary) |
void |
RerunBuildTriggerReason.init(String key,
ResultsSummary resultsSummary) |
| Modifier and Type | Method and Description |
|---|---|
void |
InitialBuildTriggerReason.init(String key,
ResultsSummary resultsSummary) |
| Modifier and Type | Method and Description |
|---|---|
ResultsSummary |
VariableContextSnapshot.getResultSummary() |
ResultsSummary |
VariableSubstitution.getResultSummary() |
| Modifier and Type | Method and Description |
|---|---|
void |
VariableContextSnapshot.setResultSummary(ResultsSummary resultSummary) |
void |
VariableSubstitution.setResultSummary(ResultsSummary resultSummary) |
| Modifier and Type | Method and Description |
|---|---|
String |
WebRepositoryViewer.getHtmlForCommitsFull(ResultsSummary resultsSummary,
RepositoryChangeset repositoryChangeset,
RepositoryData repositoryData)
Renders the html to display the full commits on the changes tab.
|
String |
WebRepositoryViewer.getHtmlForCommitsSummary(ResultsSummary resultsSummary,
RepositoryChangeset repositoryChangeset,
RepositoryData repositoryData,
int maxChanges)
Renders the html to display a summary of the commits on the Build Results Summary tab.
|
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.