oracle.ide
Class ComponentVersionManager
java.lang.Object
oracle.ide.ComponentVersionManager
- public class ComponentVersionManager
- extends java.lang.Object
Adds the component name and version number to the list of registered component/version sets. The information should be added when each Addin
starts up which comprises a component, it should register it's name and version information with this class. The About Box for the main product should get this information and then use it when displaying version information to the end user.
- See Also:
Addin
, Addin.initialize()
Method Summary |
void |
addComponent(java.lang.String componentName, java.lang.String versionNumber)
Adds the component name and version number to the list of registered component/version sets. |
java.util.Iterator |
getVersionPairs()
Returns an Iterator of Pair classes comprising the component name and version information. |
void |
removeComponent(java.lang.String componentName)
Removes the component name from the list of registered component sets. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentVersionManager
public ComponentVersionManager()
addComponent
public void addComponent(java.lang.String componentName,
java.lang.String versionNumber)
- Adds the component name and version number to the list of registered component/version sets.
-
- Parameters:
componentName
- The Name of the component, for example: Business Components for Java.
versionNumber
- The version of the component. for example: 9.0.5.12
removeComponent
public void removeComponent(java.lang.String componentName)
- Removes the component name from the list of registered component sets.
-
- Parameters:
componentName
- the name of the component.
getVersionPairs
public java.util.Iterator getVersionPairs()
- Returns an
Iterator
of Pair
classes comprising the component name and version information.
-
- Returns:
- Iterator on the
List
of Pair
instances.
- See Also:
Pair
Copyright © 1997, 2004, Oracle. All rights reserved.