public final class ComponentVersionManager
extends java.lang.Object
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.
oracle.ide.addin.Addin
,
oracle.ide.addin.Addin#initialize()
Modifier and Type | Method and Description |
---|---|
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.
|
public void addComponent(java.lang.String componentName, java.lang.String versionNumber)
componentName
- The Name of the component, for example:
Business Components for Java.versionNumber
- The version of the component. for example:
9.0.5.12public void removeComponent(java.lang.String componentName)
componentName
- the name of the component.public java.util.Iterator getVersionPairs()
Iterator
of Pair
classes comprising
the component name and version information.
List
of Pair
instances.
Pair