public class CapabilityImpl extends BaseClause implements org.osgi.resource.Capability
Constructor and Description |
---|
CapabilityImpl(org.osgi.resource.Capability capability) |
CapabilityImpl(org.osgi.resource.Resource resource,
String namespace,
Map<String,String> dirs,
Map<String,Object> attrs) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAttributes() |
Map<String,String> |
getDirectives() |
String |
getNamespace() |
org.osgi.resource.Resource |
getResource() |
List<String> |
getUses() |
boolean |
isAttributeMandatory(String name) |
boolean |
isIncluded(String name) |
toString, toString
public org.osgi.resource.Resource getResource()
getResource
in interface org.osgi.resource.Capability
getResource
in class BaseClause
public String getNamespace()
getNamespace
in interface org.osgi.resource.Capability
getNamespace
in class BaseClause
public Map<String,String> getDirectives()
getDirectives
in interface org.osgi.resource.Capability
getDirectives
in class BaseClause
public Map<String,Object> getAttributes()
getAttributes
in interface org.osgi.resource.Capability
getAttributes
in class BaseClause
public boolean isAttributeMandatory(String name)
public boolean isIncluded(String name)
Copyright © 2011–2014 Red Hat. All rights reserved.