public class UpgradeTask645IntroduceUserPermissions extends Object implements UpgradeTask
| Modifier and Type | Field and Description |
|---|---|
static int |
USER_PERMISSIONS_BUILD_NUMBER |
| Constructor and Description |
|---|
UpgradeTask645IntroduceUserPermissions(ApplicationDAO applicationDAO,
InternalUserPermissionDAO userPermissionDao,
GroupDao groupDao) |
| 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
|
public static final int USER_PERMISSIONS_BUILD_NUMBER
public UpgradeTask645IntroduceUserPermissions(ApplicationDAO applicationDAO, InternalUserPermissionDAO userPermissionDao, GroupDao groupDao)
public int getBuildNumber()
getBuildNumber in interface UpgradeTaskpublic String getShortDescription()
UpgradeTaskgetShortDescription in interface UpgradeTaskpublic void doUpgrade()
throws Exception
UpgradeTaskdoUpgrade in interface UpgradeTaskException - is thrown if any errors occur during the upgrade process.public Collection<String> getErrors()
UpgradeTaskgetErrors in interface UpgradeTaskCopyright © 2023 Atlassian. All rights reserved.