com.atlassian.confluence.upgrade
Class RebuildIndexUpgradeTask
java.lang.Object
com.atlassian.confluence.upgrade.RebuildIndexUpgradeTask
- All Implemented Interfaces:
- com.atlassian.upgrade.UpgradeTask
public class RebuildIndexUpgradeTask
- extends java.lang.Object
- implements com.atlassian.upgrade.UpgradeTask
Trigger a rebuild of the lucene index
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RebuildIndexUpgradeTask
public RebuildIndexUpgradeTask()
setTaskManager
public void setTaskManager(com.atlassian.core.task.MultiQueueTaskManager taskManager)
getBuildNumber
public java.lang.String getBuildNumber()
- Manually bump this to the latest build number if you want the reindex to be excecuted.
- Specified by:
getBuildNumber
in interface com.atlassian.upgrade.UpgradeTask
getShortDescription
public java.lang.String getShortDescription()
- Specified by:
getShortDescription
in interface com.atlassian.upgrade.UpgradeTask
doUpgrade
public void doUpgrade()
throws java.lang.Exception
- Specified by:
doUpgrade
in interface com.atlassian.upgrade.UpgradeTask
- Throws:
java.lang.Exception
getErrors
public java.util.Collection getErrors()
- Specified by:
getErrors
in interface com.atlassian.upgrade.UpgradeTask
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.