|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.upgrade.upgradetask.RemoveAPRUpgradeTask
public class RemoveAPRUpgradeTask
Constructor Summary | |
---|---|
RemoveAPRUpgradeTask(net.sf.hibernate.SessionFactory sessionFactory)
|
Method Summary | |
---|---|
void |
doNonDatabaseUpgrade()
Perform any non-database related parts of the upgrade task. |
void |
doUpgrade()
Perform the upgrade. |
String |
getBuildNumber()
|
Collection<UpgradeError> |
getErrors()
Return any errors that occur. |
String |
getShortDescription()
A short (<50 chars) description of the upgrade action |
void |
nonDatabaseValidate()
Validate any non-database related parts of the upgrade task. |
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 RemoveAPRUpgradeTask(net.sf.hibernate.SessionFactory sessionFactory)
Method Detail |
---|
public void nonDatabaseValidate()
DatabaseUpgradeTask
nonDatabaseValidate
in interface DatabaseUpgradeTask
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 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 |