@Internal public interface BuildResultsIndexer extends Indexer
Modifier and Type | Method and Description |
---|---|
void |
deIndexBuild(PlanKey planKey) |
void |
deIndexBuild(PlanKey planKey,
Set<String> affectedJiraIssuesKeys) |
void |
deIndexBuildResults(ResultsSummary summary,
boolean includeTests) |
void |
deIndexChainResults(ChainResultsSummary summary,
Set<String> affectedJiraIssuesKeys,
boolean includeTests) |
long |
indexChain(ImmutableChain plan)
Indexes the build.
|
long |
indexJob(ImmutableChain immutableChain,
PlanKey jobKey)
Indexes the job.
|
long |
indexJob(ImmutableJob plan)
Indexes the build.
|
void |
indexResultSummary(ResultsSummary summary,
ImmutableChain chain,
ImmutablePlan plan)
Schedules indexing of result summary
|
void |
reIndexBuildResults(ResultsSummary summary,
ImmutableChain chain,
ImmutablePlan plan,
boolean includeTests) |
void |
reIndexBuildResults(ResultsSummary summary,
ImmutableChain chain,
ImmutablePlan plan,
Set<String> affectedJiraIssuesKeys,
boolean includeTests) |
deleteIndex, getEstimatedReindexTime, getNumberOfDocuments, indexAll
long indexChain(ImmutableChain plan) throws Exception
plan
- Exception
long indexJob(ImmutableJob plan) throws Exception
plan
- Exception
long indexJob(ImmutableChain immutableChain, PlanKey jobKey) throws Exception
immutableChain
- chain that job belongs tojobKey
- jobKey (does not need to exist in DB)Exception
void indexResultSummary(@NotNull ResultsSummary summary, @NotNull ImmutableChain chain, @Nullable ImmutablePlan plan)
summary
- ResultsSummary
to be indexedplan
- Plan
this summary belongs tovoid reIndexBuildResults(@NotNull ResultsSummary summary, @NotNull ImmutableChain chain, @Nullable ImmutablePlan plan, boolean includeTests) throws Exception
Exception
void deIndexBuildResults(ResultsSummary summary, boolean includeTests)
void reIndexBuildResults(@NotNull ResultsSummary summary, @NotNull ImmutableChain chain, @Nullable ImmutablePlan plan, @Nullable Set<String> affectedJiraIssuesKeys, boolean includeTests) throws Exception
summary
- affectedJiraIssuesKeys
- Exception
void deIndexChainResults(@NotNull ChainResultsSummary summary, @Nullable Set<String> affectedJiraIssuesKeys, boolean includeTests)
summary
- affectedJiraIssuesKeys
- Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.