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 interfaceAppUpgrader.UpgradeStep
-
Constructor Summary
Constructors Constructor Description AppUpgrader()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description AppUpgrader.UpgradeStepgetFinalStep()If implemented, this will run after the path is executed Version can be anything and next step will be ignoredAppUpgrader.UpgradeStepgetInitialStep()If implemented, this will run before the path is executed Version can be anything and next step will be ignoredAppPostImportContextgetPostImportContext()AppPreImportContextgetPreImportContext()abstract AppUpgrader.UpgradeStepgetUpgradePath()voidinitPreImport(JobLogger newStdOutLog, AppUpgradeInfo newSystemApplicationInfo, Map<String,List<? extends PartitionableObject>> newExistingObjects)voidintPostImport(List<SchedulerEntity> newImportedObjects)abstract voidregisterDynamicObjects()
-
-
-
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()
-
-