Class QuickSearchIndexerImpl
java.lang.Object
com.atlassian.bamboo.index.quicksearch.QuickSearchIndexerImpl
- All Implemented Interfaces:
QuickSearchIndexer
-
Constructor Summary
ConstructorDescriptionQuickSearchIndexerImpl
(@NotNull CachedPlanManager cachedPlanManager, @NotNull DeploymentProjectDao deploymentProjectDao, @NotNull com.atlassian.event.api.EventPublisher eventPublisher, @NotNull ProjectManager projectManager, @NotNull PlanManager planManager, @NotNull QuickSearchItemDao quickSearchItemDao, @NotNull com.atlassian.bandana.BandanaManager bandanaManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteDeploymentProject
(@NotNull DeploymentProjectDeletedEvent event) long
void
void
indexBranch
(@NotNull ImmutableChainBranch branch) void
indexChain
(@NotNull ImmutableTopLevelPlan chain) void
indexDeploymentProject
(@NotNull DeploymentProjectConfigUpdatedEvent event) void
indexDeploymentProject
(@NotNull DeploymentProjectCreatedEvent event) void
indexDeploymentProject
(@NotNull InternalDeploymentProject deploymentProject) boolean
indexProject
(@NotNull Project project) void
onBuildConfigUpdatedEvent
(@NotNull BuildConfigurationUpdatedEvent event) void
onChainCreated
(@NotNull ChainCreatedEvent event) void
onChainDeletedEvent
(@NotNull ChainDeletedEvent event) void
onChainMoved
(@NotNull ChainMovedEvent event) void
onMultipleChainDeletedEvent
(@NotNull MultipleChainsDeletedEvent event) void
onProjectCreated
(@NotNull ProjectCreatedEvent event) void
onProjectDeleted
(@NotNull ProjectDeletedEvent event) void
onProjectUpdated
(@NotNull ProjectUpdatedEvent event)
-
Constructor Details
-
QuickSearchIndexerImpl
public QuickSearchIndexerImpl(@NotNull @NotNull CachedPlanManager cachedPlanManager, @NotNull @NotNull DeploymentProjectDao deploymentProjectDao, @NotNull @NotNull com.atlassian.event.api.EventPublisher eventPublisher, @NotNull @NotNull ProjectManager projectManager, @NotNull @NotNull PlanManager planManager, @NotNull @NotNull QuickSearchItemDao quickSearchItemDao, @NotNull @NotNull com.atlassian.bandana.BandanaManager bandanaManager)
-
-
Method Details
-
indexAll
- Specified by:
indexAll
in interfaceQuickSearchIndexer
-
getEstimatedReindexTime
public long getEstimatedReindexTime()- Specified by:
getEstimatedReindexTime
in interfaceQuickSearchIndexer
-
onProjectCreated
-
onProjectUpdated
-
onProjectDeleted
-
onChainCreated
-
onChainDeletedEvent
-
onChainMoved
-
onMultipleChainDeletedEvent
@EventListener public void onMultipleChainDeletedEvent(@NotNull @NotNull MultipleChainsDeletedEvent event) -
onBuildConfigUpdatedEvent
@EventListener public void onBuildConfigUpdatedEvent(@NotNull @NotNull BuildConfigurationUpdatedEvent event) -
indexDeploymentProject
@EventListener public void indexDeploymentProject(@NotNull @NotNull DeploymentProjectCreatedEvent event) -
indexDeploymentProject
@EventListener public void indexDeploymentProject(@NotNull @NotNull DeploymentProjectConfigUpdatedEvent event) -
deleteDeploymentProject
@EventListener public void deleteDeploymentProject(@NotNull @NotNull DeploymentProjectDeletedEvent event) -
indexProject
- Specified by:
indexProject
in interfaceQuickSearchIndexer
-
indexChain
- Specified by:
indexChain
in interfaceQuickSearchIndexer
-
indexBranch
- Specified by:
indexBranch
in interfaceQuickSearchIndexer
-
indexDeploymentProject
- Specified by:
indexDeploymentProject
in interfaceQuickSearchIndexer
-