Class PlanRepositoryIndexer
- java.lang.Object
-
- com.atlassian.bamboo.plan.cache.index.PlanRepositoryIndexer
-
- All Implemented Interfaces:
PlanCacheIndexer,PlanRepositoryIndex
public class PlanRepositoryIndexer extends Object implements PlanCacheIndexer, PlanRepositoryIndex
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.plan.cache.index.PlanRepositoryIndex
PlanRepositoryIndex.Query
-
-
Constructor Summary
Constructors Constructor Description PlanRepositoryIndexer(VcsRepositoryManager vcsRepositoryManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToIndex(@NotNull ImmutableChain chain)Index plan.voiddeindex(@NotNull PlanKey planKey)voiddeindexAll()@NotNull Collection<PlanKey>getPlans(@NotNull PlanRepositoryIndex.Query query)voidindex(@NotNull ImmutableChain chain)Reindex plan.
-
-
-
Constructor Detail
-
PlanRepositoryIndexer
public PlanRepositoryIndexer(VcsRepositoryManager vcsRepositoryManager)
-
-
Method Detail
-
addToIndex
public void addToIndex(@NotNull @NotNull ImmutableChain chain)Description copied from interface:PlanCacheIndexerIndex plan. This method is used during initialisation. Implementation can assume that plan wasn't previously indexed.- Specified by:
addToIndexin interfacePlanCacheIndexer
-
index
public void index(@NotNull @NotNull ImmutableChain chain)Description copied from interface:PlanCacheIndexerReindex plan. Implementation might require cleaning up existing content of the index.- Specified by:
indexin interfacePlanCacheIndexer
-
deindex
public void deindex(@NotNull @NotNull PlanKey planKey)- Specified by:
deindexin interfacePlanCacheIndexer
-
deindexAll
public void deindexAll()
- Specified by:
deindexAllin interfacePlanCacheIndexer
-
getPlans
@NotNull public @NotNull Collection<PlanKey> getPlans(@NotNull @NotNull PlanRepositoryIndex.Query query)
- Specified by:
getPlansin interfacePlanRepositoryIndex
-
-