Class Extension
- java.lang.Object
-
- org.eclipse.mat.inspections.osgi.model.eclipse.Extension
-
public class Extension extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Extension(int objectId, java.lang.Integer extensionId, java.lang.String[] properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConfigurationElement(ConfigurationElement configurationElement)
boolean
equals(java.lang.Object obj)
java.util.List<ConfigurationElement>
getConfigurationElements()
BundleDescriptor
getContributedBy()
Get descriptor of the bundle contributing this extensionjava.lang.String
getContributorId()
Get unique id of the bundle contributing this extensionjava.lang.Integer
getExtensionId()
Get extension's unique identifier.java.lang.String
getLabel()
java.lang.String
getName()
int
getObjectId()
Get objectId of the Extension in the heap dumpint
hashCode()
void
setContributedBy(BundleDescriptor contributedBy)
-
-
-
Method Detail
-
getObjectId
public int getObjectId()
Get objectId of the Extension in the heap dump- Returns:
- int objectId
-
getExtensionId
public java.lang.Integer getExtensionId()
Get extension's unique identifier. This extension is assigned a unique identifier by the Framework.- Returns:
- Integer extension's unique identifier
-
getName
public java.lang.String getName()
- Returns:
- String extension's fully qualified name
-
getLabel
public java.lang.String getLabel()
- Returns:
- String human readable name of the extension
-
getContributorId
public java.lang.String getContributorId()
Get unique id of the bundle contributing this extension- Returns:
- String unique id of the bundle contributing this extension
-
setContributedBy
public void setContributedBy(BundleDescriptor contributedBy)
-
getContributedBy
public BundleDescriptor getContributedBy()
Get descriptor of the bundle contributing this extension- Returns:
- BundleDescriptor of the bundle contributing this extension
-
getConfigurationElements
public java.util.List<ConfigurationElement> getConfigurationElements()
-
addConfigurationElement
public void addConfigurationElement(ConfigurationElement configurationElement)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-