Class ConfigurationElement
java.lang.Object
org.eclipse.mat.inspections.osgi.model.eclipse.ConfigurationElement
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionConfigurationElement
(int objectId, String name, Integer parentId, Integer elementId, BundleDescriptor contributingBundle, String[] propertiesAndValues) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addConfigurationElement
(ConfigurationElement configurationElement) boolean
Get nested configuration elementsDescriptor of the bundle contributing this element.Get element's unique identifier.getName()
int
Get objectId of the ConfigurationElement in the heap dumpGet id of the parent element.Get the properties and the value of the configuration element.int
hashCode()
-
Constructor Details
-
ConfigurationElement
public ConfigurationElement(int objectId, String name, Integer parentId, Integer elementId, BundleDescriptor contributingBundle, String[] propertiesAndValues)
-
-
Method Details
-
getObjectId
public int getObjectId()Get objectId of the ConfigurationElement in the heap dump- Returns:
- int objectId
-
getName
-
getParentId
Get id of the parent element. It can be a configuration element or an extension- Returns:
- Integer parentId
-
getElementId
Get element's unique identifier. This element is assigned a unique identifier by the Framework.- Returns:
- long bundle's unique identifier
-
getPropertiesAndValues
Get the properties and the value of the configuration element.- Returns:
- List<PropertyPair> properties
-
getContributingBundle
Descriptor of the bundle contributing this element. This value can be null when the element is loaded from disk and the owner has been uninstalled.- Returns:
- BundleDescriptor of the bundle contributing this element
-
getConfigurationElements
Get nested configuration elements- Returns:
- List<ConfigurationElement> nested configuration elements
-
addConfigurationElement
-
hashCode
public int hashCode() -
equals
-