public class DefaultUpgradeConstraints extends Object implements UpgradeConstraints
BuildUtilsInfo.getApplicationBuildNumber()
as a target database number.Constructor and Description |
---|
DefaultUpgradeConstraints(BuildUtilsInfo buildUtilsInfo) |
Modifier and Type | Method and Description |
---|---|
int |
getTargetDatabaseBuildNumber()
Gets the target number of database that should be set once all upgrade tasks are run.
|
boolean |
shouldRunTask(String upgradeTaskNumber)
Checks if given upgrade task number should be run by upgrade manager.
|
@Inject public DefaultUpgradeConstraints(BuildUtilsInfo buildUtilsInfo)
public int getTargetDatabaseBuildNumber()
UpgradeConstraints
getTargetDatabaseBuildNumber
in interface UpgradeConstraints
public boolean shouldRunTask(String upgradeTaskNumber)
UpgradeConstraints
shouldRunTask
in interface UpgradeConstraints
upgradeTaskNumber
- number of upgrade taskCopyright © 2002-2019 Atlassian. All Rights Reserved.