Package com.redwood.scheduler.api.model
Interface AppUpgrader.UpgradeStep
-
- Enclosing class:
- AppUpgrader
public static interface AppUpgrader.UpgradeStep
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AppUpgrader.UpgradeStepgetNextUpgradeStep()Return next step to executeStringgetVersion()Return the actual version this step represents This needs to match the actual version in the app.properties and are used in determining the upgrade path neededvoidperformPostImportUpgrade(SchedulerSession jobUserSession)Perform after importvoidperformPreImportUpgrade(SchedulerSession jobUserSession)Perform before import
-
-
-
Method Detail
-
getNextUpgradeStep
AppUpgrader.UpgradeStep getNextUpgradeStep()
Return next step to execute- Returns:
- UpgradeStep
-
getVersion
String getVersion()
Return the actual version this step represents This needs to match the actual version in the app.properties and are used in determining the upgrade path needed- Returns:
- String
-
performPreImportUpgrade
void performPreImportUpgrade(SchedulerSession jobUserSession)
Perform before import- Parameters:
jobUserSession-
-
performPostImportUpgrade
void performPostImportUpgrade(SchedulerSession jobUserSession)
Perform after import- Parameters:
jobUserSession-
-
-