|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.upgrade.upgradetask.RebuildAncestorsUpgradeTask
public class RebuildAncestorsUpgradeTask
Rebuilds the ancestor table.
| Constructor Summary | |
|---|---|
RebuildAncestorsUpgradeTask(net.sf.hibernate.SessionFactory sessionFactory)
|
|
| Method Summary | |
|---|---|
void |
doNonDatabaseUpgrade()
Perform any non-database related parts of the upgrade task. |
void |
doUpgrade()
Perform the upgrade. |
java.lang.String |
getBuildNumber()
|
java.util.Collection |
getErrors()
Return any errors that occur. |
java.lang.String |
getShortDescription()
A short (<50 chars) description of the upgrade action |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RebuildAncestorsUpgradeTask(net.sf.hibernate.SessionFactory sessionFactory)
| Method Detail |
|---|
public java.lang.String getBuildNumber()
getBuildNumber in interface UpgradeTaskpublic java.lang.String getShortDescription()
UpgradeTask
getShortDescription in interface UpgradeTask
public void doUpgrade()
throws java.lang.Exception
UpgradeTask
doUpgrade in interface UpgradeTaskjava.lang.Exceptionpublic java.util.Collection getErrors()
UpgradeTask
getErrors in interface UpgradeTaskpublic void doNonDatabaseUpgrade()
DatabaseUpgradeTaskUpgradeTask.doUpgrade(). This allows the upgrade task to perform any local non-db cleanup
that might be involved in the upgrade.
doNonDatabaseUpgrade in interface DatabaseUpgradeTask
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||