Package com.atlassian.upgrade
Interface UpgradeTask
- All Known Subinterfaces:
DatabaseUpgradeTask
- All Known Implementing Classes:
AbstractUpgradeTask
public interface UpgradeTask
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.log4j.CategoryAll upgrade tasks should use this log for convenience, unless there's some overriding reason to use a different log -
Method Summary
Modifier and TypeMethodDescriptionvoidPerform the upgrade.Return any errors that occur.A short (<50 chars) description of the upgrade action
-
Field Details
-
log
static final org.apache.log4j.Category logAll upgrade tasks should use this log for convenience, unless there's some overriding reason to use a different log
-
-
Method Details
-
getBuildNumber
String getBuildNumber()- Returns:
- The build number that this upgrade is applicable to
-
getShortDescription
String getShortDescription()A short (<50 chars) description of the upgrade action -
doUpgrade
Perform the upgrade.- Throws:
Exception
-
getErrors
Collection<UpgradeError> getErrors()Return any errors that occur. Each entry is an UpgradeError.
-