public class UpgradeTask396 extends Object implements UpgradeTask
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_KEY_USE_CACHING
ATTRIBUTE_KEY_USE_CACHING constant used to live in DirectoryImpl, but is not used in production any more
|
static String |
ATTRIBUTE_KEY_USE_MONITORING
ATTRIBUTE_KEY_USE_MONITORING constant used to live in DirectoryImpl, but is not used in production any more
|
Constructor and Description |
---|
UpgradeTask396() |
Modifier and Type | Method and Description |
---|---|
void |
doUpgrade()
Perform the upgrade.
|
int |
getBuildNumber() |
Collection<String> |
getErrors()
Any errors that occur during the upgrade process will be added to this Collection as Strings.
|
String |
getShortDescription()
A short (less than 50 chars) description of the upgrade action
|
void |
setDirectoryManager(DirectoryManager directoryManager) |
public static final String ATTRIBUTE_KEY_USE_CACHING
public static final String ATTRIBUTE_KEY_USE_MONITORING
public int getBuildNumber()
getBuildNumber
in interface UpgradeTask
public String getShortDescription()
UpgradeTask
getShortDescription
in interface UpgradeTask
public void doUpgrade() throws Exception
UpgradeTask
doUpgrade
in interface UpgradeTask
Exception
- is thrown if any errors occur during the upgrade process.public Collection<String> getErrors()
UpgradeTask
getErrors
in interface UpgradeTask
public void setDirectoryManager(DirectoryManager directoryManager)
Copyright © 2020 Atlassian. All rights reserved.