Oracle® Fusion Middleware Java API Reference for the Lifecycle Management Environment Specification
12c (12.2.1.3)
E95511-02
-
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
upgradeModelVersion
public static String upgradeModelVersion(Class<?> clazz,
String modelFileName,
String model,
String fromSchemaVersion,
String mode)
throws FMWEnvSpecException
Upgrade the model to the next schemaVersion. Recurse until the model has reached the current schemaVersion.
- Parameters:
clazz
- the class type of the model
modelFileName
- the name of file that is being upgraded
model
- a string representation of the model content
fromSchemaVersion
- the schemaVersion that the model is currently at
mode
- the current format of the model - json or xml
- Returns:
- the upgraded model
- Throws:
FMWEnvSpecException
- an exception occured during processing
Oracle® Fusion Middleware Java API Reference for the Lifecycle Management Environment Specification
12c (12.2.1.3)
E95511-02
Copyright © 2014, 2019, Oracle and/or its affiliates. All rights reserved.