com.atlassian.confluence.upgrade
Class RebuildIndexUpgradeTask

java.lang.Object
  extended by 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


Constructor Summary
RebuildIndexUpgradeTask()
           
 
Method Summary
 void doUpgrade()
           
 java.lang.String getBuildNumber()
          Manually bump this to the latest build number if you want the reindex to be excecuted.
 java.util.Collection getErrors()
           
 java.lang.String getShortDescription()
           
 void setTaskManager(com.atlassian.core.task.MultiQueueTaskManager taskManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RebuildIndexUpgradeTask

public RebuildIndexUpgradeTask()
Method Detail

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.