Package com.atlassian.jira.upgrade
Class UpgradeIndexManager
java.lang.Object
com.atlassian.jira.upgrade.UpgradeIndexManager
Handles reindex operations for JIRA upgrades.
-
Constructor Summary
ConstructorsConstructorDescriptionUpgradeIndexManager(ReindexRequestManager reindexRequestManager, ReindexMessageManager reindexMessageManager, ApplicationProperties applicationProperties, JiraProperties jiraSystemProperties) -
Method Summary
Modifier and TypeMethodDescriptionbooleanrunReindexIfNeededAndAllowed(Set<ReindexRequestType> allowedReindexRequestTypes) Performs reindex.
-
Constructor Details
-
UpgradeIndexManager
public UpgradeIndexManager(ReindexRequestManager reindexRequestManager, ReindexMessageManager reindexMessageManager, ApplicationProperties applicationProperties, JiraProperties jiraSystemProperties)
-
-
Method Details
-
runReindexIfNeededAndAllowed
Performs reindex.If a immediate reindex is already requested a message on the admin screen will be displayed to indicate a need of immediate reindex
- Returns:
- true if successful and there were no errors, false if there was an error performing reindex.
-