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 void
addToIndex(@NotNull ImmutableChain chain)
Index plan.void
deindex(@NotNull PlanKey planKey)
void
deindexAll()
@NotNull Collection<PlanKey>
getPlans(@NotNull PlanRepositoryIndex.Query query)
void
index(@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:PlanCacheIndexer
Index plan. This method is used during initialisation. Implementation can assume that plan wasn't previously indexed.- Specified by:
addToIndex
in interfacePlanCacheIndexer
-
index
public void index(@NotNull @NotNull ImmutableChain chain)
Description copied from interface:PlanCacheIndexer
Reindex plan. Implementation might require cleaning up existing content of the index.- Specified by:
index
in interfacePlanCacheIndexer
-
deindex
public void deindex(@NotNull @NotNull PlanKey planKey)
- 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
-
-