|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.upgrade.upgradetask.RebuildIndexUpgradeTask
public class RebuildIndexUpgradeTask
Trigger a rebuild of the lucene index
Constructor Summary | |
---|---|
RebuildIndexUpgradeTask()
|
Method Summary | |
---|---|
void |
doUpgrade()
Perform the upgrade. |
String |
getBuildNumber()
Manually bump this to the latest build number if you want the reindex to be excecuted. |
Collection<UpgradeError> |
getErrors()
Return any errors that occur. |
String |
getShortDescription()
A short (<50 chars) description of the upgrade action |
void |
setTaskManager(com.atlassian.core.task.MultiQueueTaskManager taskManager)
|
void |
validate()
Validates that this upgrade task can be performed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RebuildIndexUpgradeTask()
Method Detail |
---|
public void setTaskManager(com.atlassian.core.task.MultiQueueTaskManager taskManager)
public String getBuildNumber()
getBuildNumber
in interface UpgradeTask
public String getShortDescription()
UpgradeTask
getShortDescription
in interface UpgradeTask
public void validate()
UpgradeTask
validate
in interface UpgradeTask
public void doUpgrade() throws Exception
UpgradeTask
doUpgrade
in interface UpgradeTask
Exception
public Collection<UpgradeError> getErrors()
UpgradeTask
UpgradeError
.
getErrors
in interface UpgradeTask
UpgradeError
objects, sometimes null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |