Class PlanRepositoryIndexer
java.lang.Object
com.atlassian.bamboo.plan.cache.index.PlanRepositoryIndexer
- All Implemented Interfaces:
PlanCacheIndexer
,PlanRepositoryIndex
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.plan.cache.index.PlanRepositoryIndex
PlanRepositoryIndex.Query
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToIndex
(@NotNull ImmutableChain chain) Index plan.void
void
@NotNull Collection<PlanKey>
getPlans
(@NotNull PlanRepositoryIndex.Query query) void
index
(@NotNull ImmutableChain chain) Reindex plan.
-
Constructor Details
-
PlanRepositoryIndexer
-
-
Method Details
-
addToIndex
Description copied from interface:PlanCacheIndexer
Index plan. This method is used during initialisation. Implementation can assume that plan wasn't previously indexed.- Specified by:
addToIndex
in interfacePlanCacheIndexer
-
index
Description copied from interface:PlanCacheIndexer
Reindex plan. Implementation might require cleaning up existing content of the index.- Specified by:
index
in interfacePlanCacheIndexer
-
deindex
- Specified by:
deindex
in interfacePlanCacheIndexer
-
deindexAll
public void deindexAll()- Specified by:
deindexAll
in interfacePlanCacheIndexer
-
getPlans
@NotNull public @NotNull Collection<PlanKey> getPlans(@NotNull @NotNull PlanRepositoryIndex.Query query) - Specified by:
getPlans
in interfacePlanRepositoryIndex
-