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 voidaddConfigurationElement(ConfigurationElement configurationElement)booleanequals(java.lang.Object obj)java.util.List<ConfigurationElement>getConfigurationElements()BundleDescriptorgetContributedBy()Get descriptor of the bundle contributing this extensionjava.lang.StringgetContributorId()Get unique id of the bundle contributing this extensionjava.lang.IntegergetExtensionId()Get extension's unique identifier.java.lang.StringgetLabel()java.lang.StringgetName()intgetObjectId()Get objectId of the Extension in the heap dumpinthashCode()voidsetContributedBy(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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-