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 SummaryNested Classes Modifier and Type Class Description static interfaceAppUpgrader.UpgradeStep
 - 
Constructor SummaryConstructors Constructor Description AppUpgrader()
 - 
Method SummaryAll 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_FQNpublic static final String IMPL_FQN - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
initPreImportpublic void initPreImport(JobLogger newStdOutLog, AppUpgradeInfo newSystemApplicationInfo, Map<String,List<? extends PartitionableObject>> newExistingObjects) 
 - 
intPostImportpublic void intPostImport(List<SchedulerEntity> newImportedObjects) 
 - 
getPostImportContextpublic AppPostImportContext getPostImportContext() 
 - 
getPreImportContextpublic AppPreImportContext getPreImportContext() 
 - 
getInitialSteppublic 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
 
 - 
getFinalSteppublic 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
 
 - 
getUpgradePathpublic abstract AppUpgrader.UpgradeStep getUpgradePath() 
 - 
registerDynamicObjectspublic abstract void registerDynamicObjects() 
 
- 
 
-