public class FeatureInfo extends java.lang.Object implements java.lang.Comparable<FeatureInfo>
| Constructor and Description |
|---|
FeatureInfo() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(FeatureInfo o) |
static FeatureInfo |
createFeatureInfoFromFeatureID(java.lang.String featureID)
Creates a new
FeatureInfo instance from the specified feature ID |
static FeatureInfo |
createFeatureInfoFromIU(IInstallableUnit featureIU)
Creates a new
FeatureInfo instance from the provided IInstallableUnit. |
boolean |
equals(java.lang.Object compareObject) |
java.lang.String |
getId()
Returns the feature ID.
|
java.lang.String |
getName()
Returns the feature name.
|
java.lang.String |
getRepositoryName()
Gets the repository name.
|
java.net.URI |
getRepositoryURI()
Gets the repository URI.
|
java.lang.String |
getVersion()
Gets the feature version.
|
void |
setId(java.lang.String id)
Sets the feature ID.
|
void |
setName(java.lang.String name)
Sets the feature name.
|
void |
setRepositoryName(java.lang.String repositoryName)
Sets the repository name.
|
void |
setRepositoryURI(java.net.URI repositoryURI)
Sets the repository URI.
|
void |
setVersion(java.lang.String version)
Sets the feature version.
|
java.lang.String |
toString() |
public static FeatureInfo createFeatureInfoFromFeatureID(java.lang.String featureID)
FeatureInfo instance from the specified feature IDfeatureID - the feature IDpublic static FeatureInfo createFeatureInfoFromIU(IInstallableUnit featureIU)
FeatureInfo instance from the provided IInstallableUnit.featureIU - the IInstallableUnitpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the new feature namepublic java.lang.String getId()
public void setId(java.lang.String id)
id - the new feature IDpublic java.lang.String getVersion()
public void setVersion(java.lang.String version)
version - the new feature versionpublic java.net.URI getRepositoryURI()
public void setRepositoryURI(java.net.URI repositoryURI)
repositoryURI - the new repository URIpublic java.lang.String getRepositoryName()
public void setRepositoryName(java.lang.String repositoryName)
repositoryName - the new repository namepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object compareObject)
equals in class java.lang.Objectpublic int compareTo(FeatureInfo o)
compareTo in interface java.lang.Comparable<FeatureInfo>