org.apache.felix.framework.util.manifestparser
Class Capability
Object
org.apache.felix.framework.util.manifestparser.Capability
- All Implemented Interfaces:
- Comparable, ICapability
public class Capability
- extends Object
- implements ICapability, Comparable
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Capability
public Capability(IModule module,
String namespace,
R4Directive[] dirs,
R4Attribute[] attrs)
getModule
public IModule getModule()
- Specified by:
getModule
in interface ICapability
getNamespace
public String getNamespace()
- Specified by:
getNamespace
in interface ICapability
getPackageName
public String getPackageName()
getPackageVersion
public org.osgi.framework.Version getPackageVersion()
getDirectives
public R4Directive[] getDirectives()
getAttributes
public R4Attribute[] getAttributes()
getUses
public String[] getUses()
isIncluded
public boolean isIncluded(String name)
getProperties
public Map getProperties()
- Specified by:
getProperties
in interface ICapability
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
toString
public String toString()
- Overrides:
toString
in class Object