public final class BundlePersistentInfo extends Object
| Constructor and Description |
|---|
BundlePersistentInfo(org.osgi.framework.Bundle bundle) |
BundlePersistentInfo(String location,
String symbolicName,
String version,
int state,
int startLevel) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLocation() |
String |
getLocationProtocol() |
int |
getStartLevel() |
int |
getState() |
String |
getSymbolicName() |
String |
getVersion() |
boolean |
isSameVersionAs(BundlePersistentInfo other)
Returns
true if this instance does refer to the
same bundle version as other. |
public BundlePersistentInfo(org.osgi.framework.Bundle bundle)
public String getLocation()
public int getState()
public String getSymbolicName()
public String getVersion()
public int getStartLevel()
public String getLocationProtocol()
public boolean isSameVersionAs(BundlePersistentInfo other)
true if this instance does refer to the
same bundle version as other.other - the instance to check againsttrue if and of
both instances are the same, false otherwiseCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.