|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.upgrade.upgradetask.DraftDataCleaningUpgradeTask
public class DraftDataCleaningUpgradeTask
Remove drafts created by CONF-12144 with a null page ID or type.
Constructor Summary | |
---|---|
DraftDataCleaningUpgradeTask()
|
Method Summary | |
---|---|
void |
doNonDatabaseUpgrade()
Perform any non-database related parts of the upgrade task. |
void |
doUpgrade()
Perform the upgrade. |
String |
getBuildNumber()
|
Collection |
getErrors()
Return any errors that occur. |
String |
getShortDescription()
A short (<50 chars) description of the upgrade action |
void |
setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DraftDataCleaningUpgradeTask()
Method Detail |
---|
public String getBuildNumber()
getBuildNumber
in interface UpgradeTask
public String getShortDescription()
UpgradeTask
getShortDescription
in interface UpgradeTask
public void doUpgrade() throws Exception
UpgradeTask
doUpgrade
in interface UpgradeTask
Exception
public void doNonDatabaseUpgrade()
DatabaseUpgradeTask
UpgradeTask.doUpgrade()
. This allows the upgrade task to perform any local non-db cleanup
that might be involved in the upgrade.
doNonDatabaseUpgrade
in interface DatabaseUpgradeTask
public void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
public Collection getErrors()
UpgradeTask
getErrors
in interface UpgradeTask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |