public class BundleCapabilityImpl extends Object implements BundleCapability
Modifier and Type | Field and Description |
---|---|
static String |
VERSION_ATTR |
Constructor and Description |
---|
BundleCapabilityImpl(BundleRevision revision,
String namespace,
Map<String,String> dirs,
Map<String,Object> attrs) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAttributes()
Returns the attributes of this capability.
|
Map<String,String> |
getDirectives()
Returns the directives of this capability.
|
String |
getNamespace()
Returns the name space of this capability.
|
BundleRevision |
getRevision()
Returns the bundle revision declaring this capability.
|
List<String> |
getUses() |
boolean |
isAttributeMandatory(String name) |
boolean |
isIncluded(String name) |
String |
toString() |
public static final String VERSION_ATTR
public BundleRevision getRevision()
BundleCapability
getRevision
in interface BundleCapability
public String getNamespace()
BundleCapability
getNamespace
in interface BundleCapability
public Map<String,String> getDirectives()
BundleCapability
getDirectives
in interface BundleCapability
public Map<String,Object> getAttributes()
BundleCapability
getAttributes
in interface BundleCapability
public boolean isAttributeMandatory(String name)
public boolean isIncluded(String name)
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.