public class VersionDrivenUpgradeScript extends Object implements UpgradeScript
UpgradeScript.UpgradeContext, UpgradeScript.UpgradeScriptMetadata| Modifier and Type | Field and Description |
|---|---|
private static Logger |
log |
private UpgradeScript.UpgradeContext |
upgradeContext |
NO_VERSION| Constructor and Description |
|---|
VersionDrivenUpgradeScript() |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
firstTimeRun() |
Method |
getFirstRunMethod() |
TreeMap<MMPVersion,Method> |
getFixUpMethods(MMPVersion lastExVer) |
protected UpgradeScript.UpgradeContext |
getUpgradeContext() |
void |
init(UpgradeScript.UpgradeContext upgradeContext) |
private void |
invokeMethod(Method m) |
private void |
runFixUps(MMPVersion lastExVer) |
void |
upgrade(UpgradeScript.UpgradeContext upgradeContext) |
private UpgradeScript.UpgradeContext upgradeContext
public VersionDrivenUpgradeScript()
protected UpgradeScript.UpgradeContext getUpgradeContext()
public void upgrade(UpgradeScript.UpgradeContext upgradeContext) throws ConfigurationException
upgrade in interface UpgradeScriptConfigurationExceptionpublic void init(UpgradeScript.UpgradeContext upgradeContext)
private void runFixUps(MMPVersion lastExVer)
public Method getFirstRunMethod()
public TreeMap<MMPVersion,Method> getFixUpMethods(MMPVersion lastExVer)
private void invokeMethod(Method m)
private boolean firstTimeRun()
Copyright © 2017 dcm4che.org. All rights reserved.