public interface ModelUpgradeHandler
| Modifier and Type | Method and Description |
|---|---|
String |
upgrade(String fromVersion, Class clazz, String inputFilePath)
Upgrade n-1 version model document to version n
|
File |
upgrade(String fromVersion, Class clazz, String inputFilePath, String outFilePath)
Upgrade n-1 version model document to version n
|
String upgrade(String fromVersion, Class clazz, String inputFilePath) throws FMWEnvSpecException
fromVersion - schemaVersion of the document to be upgradedclazz - Model object class typeinputFilePath - file path of document to be upgradedFMWEnvSpecException - in the event of a critical errorFile upgrade(String fromVersion, Class clazz, String inputFilePath, String outFilePath) throws FMWEnvSpecException
fromVersion - schemaVersion of the document to be upgradedclazz - Model object class typeinputFilePath - file path of document to be upgradedoutFilePath - file path to save upgraded documentFMWEnvSpecException - in the event of a critical error