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.UpgradeStep
getNextUpgradeStep()
Return next step to executeString
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 neededvoid
performPostImportUpgrade(com.redwood.scheduler.api.model.SchedulerSession jobUserSession)
Perform after importvoid
performPreImportUpgrade(com.redwood.scheduler.api.model.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(com.redwood.scheduler.api.model.SchedulerSession jobUserSession)
Perform before import- Parameters:
jobUserSession
-
-
performPostImportUpgrade
void performPostImportUpgrade(com.redwood.scheduler.api.model.SchedulerSession jobUserSession)
Perform after import- Parameters:
jobUserSession
-
-
-