public class CapabilitySet extends Object
Constructor and Description |
---|
CapabilitySet(List<String> indexProps) |
Modifier and Type | Method and Description |
---|---|
void |
addCapability(org.osgi.resource.Capability cap) |
void |
dump() |
Set<org.osgi.resource.Capability> |
match(SimpleFilter sf,
boolean obeyMandatory) |
static boolean |
matches(org.osgi.resource.Capability capability,
org.osgi.resource.Requirement requirement) |
static boolean |
matches(org.osgi.resource.Capability cap,
SimpleFilter sf) |
void |
removeCapability(org.osgi.resource.Capability cap) |
public void dump()
public void addCapability(org.osgi.resource.Capability cap)
public void removeCapability(org.osgi.resource.Capability cap)
public Set<org.osgi.resource.Capability> match(SimpleFilter sf, boolean obeyMandatory)
public static boolean matches(org.osgi.resource.Capability capability, org.osgi.resource.Requirement requirement)
public static boolean matches(org.osgi.resource.Capability cap, SimpleFilter sf)
Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.