Package com.atlassian.upgrade
Interface UpgradeTask
-
- All Known Subinterfaces:
DatabaseUpgradeTask
- All Known Implementing Classes:
AbstractUpgradeTask
public interface UpgradeTask
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.log4j.CategorylogAll upgrade tasks should use this log for convenience, unless there's some overriding reason to use a different log
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddoUpgrade()Perform the upgrade.StringgetBuildNumber()Collection<UpgradeError>getErrors()Return any errors that occur.StringgetShortDescription()A short (<50 chars) description of the upgrade action
-
-
-
Method Detail
-
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
-
getErrors
Collection<UpgradeError> getErrors()
Return any errors that occur. Each entry is an UpgradeError.
-
-