public static class VerifyMojo.FakeBundleRevision
extends org.apache.karaf.features.internal.resolver.ResourceImpl
implements org.osgi.framework.wiring.BundleRevision, org.osgi.framework.startlevel.BundleStartLevel
| Constructor and Description |
|---|
FakeBundleRevision(Hashtable<String,String> headers,
String location,
long bundleId) |
| Modifier and Type | Method and Description |
|---|---|
org.osgi.framework.Bundle |
getBundle() |
List<org.osgi.framework.wiring.BundleCapability> |
getDeclaredCapabilities(String namespace) |
List<org.osgi.framework.wiring.BundleRequirement> |
getDeclaredRequirements(String namespace) |
int |
getStartLevel() |
String |
getSymbolicName() |
int |
getTypes() |
org.osgi.framework.Version |
getVersion() |
org.osgi.framework.wiring.BundleWiring |
getWiring() |
boolean |
isActivationPolicyUsed() |
boolean |
isPersistentlyStarted() |
void |
setStartLevel(int startLevel) |
addCapabilities, addCapability, addRequirement, addRequirements, getCapabilities, getRequirements, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic int getStartLevel()
getStartLevel in interface org.osgi.framework.startlevel.BundleStartLevelpublic void setStartLevel(int startLevel)
setStartLevel in interface org.osgi.framework.startlevel.BundleStartLevelpublic boolean isPersistentlyStarted()
isPersistentlyStarted in interface org.osgi.framework.startlevel.BundleStartLevelpublic boolean isActivationPolicyUsed()
isActivationPolicyUsed in interface org.osgi.framework.startlevel.BundleStartLevelpublic String getSymbolicName()
getSymbolicName in interface org.osgi.framework.wiring.BundleRevisionpublic org.osgi.framework.Version getVersion()
getVersion in interface org.osgi.framework.wiring.BundleRevisionpublic List<org.osgi.framework.wiring.BundleCapability> getDeclaredCapabilities(String namespace)
getDeclaredCapabilities in interface org.osgi.framework.wiring.BundleRevisionpublic List<org.osgi.framework.wiring.BundleRequirement> getDeclaredRequirements(String namespace)
getDeclaredRequirements in interface org.osgi.framework.wiring.BundleRevisionpublic int getTypes()
getTypes in interface org.osgi.framework.wiring.BundleRevisionpublic org.osgi.framework.wiring.BundleWiring getWiring()
getWiring in interface org.osgi.framework.wiring.BundleRevisionpublic org.osgi.framework.Bundle getBundle()
getBundle in interface org.osgi.framework.BundleReferenceCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.