Package com.redwood.scheduler.api.model
Class AppUpgrader
- java.lang.Object
-
- com.redwood.scheduler.api.model.AppUpgrader
-
public abstract class AppUpgrader extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AppUpgrader.UpgradeStep
-
Constructor Summary
Constructors Constructor Description AppUpgrader()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description AppUpgrader.UpgradeStep
getFinalStep()
If implemented, this will run after the path is executed Version can be anything and next step will be ignoredAppUpgrader.UpgradeStep
getInitialStep()
If implemented, this will run before the path is executed Version can be anything and next step will be ignoredAppPostImportContext
getPostImportContext()
AppPreImportContext
getPreImportContext()
abstract AppUpgrader.UpgradeStep
getUpgradePath()
void
initPreImport(JobLogger newStdOutLog, AppUpgradeInfo newSystemApplicationInfo, Map<String,List<? extends PartitionableObject>> newExistingObjects)
void
intPostImport(List<SchedulerEntity> newImportedObjects)
abstract void
registerDynamicObjects()
-
-
-
Field Detail
-
IMPL_FQN
public static final String IMPL_FQN
- See Also:
- Constant Field Values
-
-
Method Detail
-
initPreImport
public void initPreImport(JobLogger newStdOutLog, AppUpgradeInfo newSystemApplicationInfo, Map<String,List<? extends PartitionableObject>> newExistingObjects)
-
intPostImport
public void intPostImport(List<SchedulerEntity> newImportedObjects)
-
getPostImportContext
public AppPostImportContext getPostImportContext()
-
getPreImportContext
public AppPreImportContext getPreImportContext()
-
getInitialStep
public AppUpgrader.UpgradeStep getInitialStep()
If implemented, this will run before the path is executed Version can be anything and next step will be ignored- Returns:
- UpgradeStep
-
getFinalStep
public AppUpgrader.UpgradeStep getFinalStep()
If implemented, this will run after the path is executed Version can be anything and next step will be ignored- Returns:
- UpgradeStep
-
getUpgradePath
public abstract AppUpgrader.UpgradeStep getUpgradePath()
-
registerDynamicObjects
public abstract void registerDynamicObjects()
-
-