|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.upgrade.AbstractUpgradeTask com.atlassian.confluence.upgrade.AbstractDeferredRunUpgradeTask com.atlassian.confluence.upgrade.upgradetask.RebuildIndexUpgradeTask
public class RebuildIndexUpgradeTask
Trigger a rebuild of the lucene index
Constructor Summary | |
---|---|
RebuildIndexUpgradeTask()
|
Method Summary | |
---|---|
boolean |
breaksBackwardCompatibility()
Returns true if a new export can't be imported in an older instance. |
void |
doDeferredUpgrade()
Run the upgrade that was deferred by an earlier call to doUpgrade. |
void |
doUpgrade()
Perform the upgrade. |
java.lang.String |
getBuildNumber()
Manually bump this to the latest build number if you want the reindex to be executed. |
java.lang.String |
getShortDescription()
A short (<50 chars) description of the upgrade action |
boolean |
runOnSpaceImport()
Returns true if an older Space can't be imported in a new instance without running this task. |
void |
setTaskManager(com.atlassian.core.task.MultiQueueTaskManager taskManager)
|
Methods inherited from class com.atlassian.confluence.upgrade.AbstractDeferredRunUpgradeTask |
---|
isUpgradeRequired, setUpgradeRequired |
Methods inherited from class com.atlassian.confluence.upgrade.AbstractUpgradeTask |
---|
addAllErrors, addError, addError, getConstraint, getErrors, setBuildNumber, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.confluence.upgrade.UpgradeTask |
---|
getConstraint, getErrors, validate |
Constructor Detail |
---|
public RebuildIndexUpgradeTask()
Method Detail |
---|
public void setTaskManager(com.atlassian.core.task.MultiQueueTaskManager taskManager)
public void doDeferredUpgrade() throws java.lang.Exception
DeferredUpgradeTask
java.lang.Exception
public java.lang.String getBuildNumber()
getBuildNumber
in interface UpgradeTask
getBuildNumber
in class AbstractUpgradeTask
public java.lang.String getShortDescription()
UpgradeTask
getShortDescription
in interface UpgradeTask
getShortDescription
in class AbstractUpgradeTask
public void doUpgrade() throws java.lang.Exception
UpgradeTask
doUpgrade
in interface UpgradeTask
doUpgrade
in class AbstractDeferredRunUpgradeTask
java.lang.Exception
public boolean runOnSpaceImport()
BackupSupport
public boolean breaksBackwardCompatibility()
BackupSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |