Class BundleInfo
java.lang.Object
org.apache.sling.testing.clients.osgi.BundleInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
getName()
getProperty
(String key) Returns the value of a specific key in the bundleboolean
Returns the indicator if the bundle is a fragment
-
Constructor Details
-
BundleInfo
- Throws:
TestingValidationException
-
-
Method Details
-
getId
public int getId()- Returns:
- the bundle identifier
-
getName
- Returns:
- the bundle name
-
getVersion
- Returns:
- the bundle version
-
isFragment
public boolean isFragment()Returns the indicator if the bundle is a fragment- Returns:
true
if bundle is a fragment,false
otherwise.
-
getStatus
- Returns:
- the bundle current state
-
getSymbolicName
- Returns:
- the bundle symbolic name
-
getCategory
- Returns:
- the category of the bundle
-
getProperty
Returns the value of a specific key in the bundle- Parameters:
key
- the property to search- Returns:
- a specific bundle property
-
getProperties
- Returns:
- the bundle properties in a
Map
-