Class BundleDescriptor
java.lang.Object
org.eclipse.mat.inspections.osgi.model.BundleDescriptor
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionBundleDescriptor
(int objectId, Long bundleId, String bundleName, String state, BundleDescriptor.Type type) -
Method Summary
-
Constructor Details
-
BundleDescriptor
public BundleDescriptor(int objectId, Long bundleId, String bundleName, String state, BundleDescriptor.Type type)
-
-
Method Details
-
getBundleName
-
getBundleId
Get bundle's unique identifier. This bundle is assigned a unique identifier by the Framework when it was installed in the OSGi environment.- Returns:
- long bundle's unique identifier
-
getObjectId
public int getObjectId()Get objectId of the bundle in the heap dump- Returns:
- int objectId
-
hashCode
public int hashCode() -
equals
-
getType
Get bundle's type (fragment or bundle)- Returns:
- Type
-
getState
Get bundle's state (installed, resolved, starting, active, stopping, uninstalled)- Returns:
- String state
-