|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DeploymentVersion> oracle.apps.fnd.applcore.flex.runtime.DeploymentVersion
public enum DeploymentVersion
For Internal Use Only.
The version of flexfield deployment. The value returned by
latest()
is saved with a flexfield after the deployment is
completed successfully. Patching code or runtime can examine the stored
version by calling compare
and behave accordingly. A version in
this class is not simply a timestamp. It indicates changes in deployment
logic, the generated objects in MDS or runtime behavior. A version is more
in line with a specific feature than a code release, but the version names
may be derived from the release names. A new version should be added only
when comparison is needed, i.e. when the version is referenced by
compare
method.
Do not use compareTo
method when comparing two values in this
numeration. The order of the versions is not the same as the order of the
values. Theoretically comparison is always done between a String and an
object of this class, because the version is stored in the DB as a String.
Enum Constant Summary | |
---|---|
PT_11_1_1_7_0
|
Method Summary | |
---|---|
static int |
compare(java.lang.String versionX,
DeploymentVersion versionY)
Compares two versions. |
static DeploymentVersion |
latest()
Gets the latest version. |
static DeploymentVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DeploymentVersion[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DeploymentVersion PT_11_1_1_7_0
Method Detail |
---|
public static DeploymentVersion[] values()
for (DeploymentVersion c : DeploymentVersion.values()) System.out.println(c);
public static DeploymentVersion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static DeploymentVersion latest()
public static int compare(java.lang.String versionX, DeploymentVersion versionY)
null
and a negative integer is returned.
null
is considered the oldest version.
versionX
- a deployment version in its String formversionY
- a deployment version
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |