|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.data.HashStructureAdapter
oracle.ide.model.ProjectVersion
public final class ProjectVersion
This class provides a standardized means of storing and retrieving version history information in the project file. This information is used when determining what migration, if any, an extension would need to perform to bring its part(s) of the project file up to date with the currently running extension version.
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_VERSIONS_KEY |
static java.lang.String |
PROJECT_KEY |
Fields inherited from class oracle.javatools.data.HashStructureAdapter |
---|
_hash |
Constructor Summary | |
---|---|
ProjectVersion(HashStructure projectHash) |
|
ProjectVersion(PropertyStorage project) |
Method Summary | |
---|---|
void |
addVersion(java.lang.String componentName, VersionNumber version) Adds the specified version to the version history for the specified component. |
VersionNumber |
getCurrentVersion() Returns the current version of the Project format itself. |
VersionNumber |
getCurrentVersion(java.lang.String componentName) Returns the current version of the specified component, as stored in the project file. |
VersionNumber[] |
getVersionHistory() Returns the version history of the current project file format. |
VersionNumber[] |
getVersionHistory(java.lang.String componentName) Returns the version history of the specified component. |
static void |
initializeVersions(PropertyStorage project, java.lang.String nodeMigratorKey) |
void |
removeVersion(java.lang.String componentName, VersionNumber version) Removes the specified version from the version history for the specified component. |
void |
setVersionHistory(java.lang.String componentName, VersionNumber[] versionHistory) Associates the specified array of VersionNumber s as representing the total version history for the specified component. |
Methods inherited from class oracle.javatools.data.HashStructureAdapter |
---|
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROJECT_KEY
public static final java.lang.String COMPONENT_VERSIONS_KEY
Constructor Detail |
---|
public ProjectVersion(PropertyStorage project)
public ProjectVersion(HashStructure projectHash)
Method Detail |
---|
public static void initializeVersions(PropertyStorage project, java.lang.String nodeMigratorKey)
public VersionNumber getCurrentVersion()
Project
format itself.public VersionNumber[] getVersionHistory()
public VersionNumber getCurrentVersion(java.lang.String componentName)
public VersionNumber[] getVersionHistory(java.lang.String componentName)
getVersionHistory()
public void setVersionHistory(java.lang.String componentName, VersionNumber[] versionHistory)
VersionNumber
s as representing the total version history for the specified component.public void addVersion(java.lang.String componentName, VersionNumber version)
public void removeVersion(java.lang.String componentName, VersionNumber version)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |