Class BundleDescriptor
- java.lang.Object
-
- org.eclipse.mat.inspections.osgi.model.BundleDescriptor
-
public class BundleDescriptor extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBundleDescriptor.Type
-
Constructor Summary
Constructors Constructor Description BundleDescriptor(int objectId, java.lang.Long bundleId, java.lang.String bundleName, java.lang.String state, BundleDescriptor.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.LonggetBundleId()Get bundle's unique identifier.java.lang.StringgetBundleName()intgetObjectId()Get objectId of the bundle in the heap dumpjava.lang.StringgetState()Get bundle's state (installed, resolved, starting, active, stopping, uninstalled)BundleDescriptor.TypegetType()Get bundle's type (fragment or bundle)inthashCode()
-
-
-
Constructor Detail
-
BundleDescriptor
public BundleDescriptor(int objectId, java.lang.Long bundleId, java.lang.String bundleName, java.lang.String state, BundleDescriptor.Type type)
-
-
Method Detail
-
getBundleName
public java.lang.String getBundleName()
-
getBundleId
public java.lang.Long 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()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getType
public BundleDescriptor.Type getType()
Get bundle's type (fragment or bundle)- Returns:
- Type
-
getState
public java.lang.String getState()
Get bundle's state (installed, resolved, starting, active, stopping, uninstalled)- Returns:
- String state
-
-