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 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
Copyright © 2020 Atlassian. All rights reserved.