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()
BundleCapabilitygetRevision in interface BundleCapabilitypublic String getNamespace()
BundleCapabilitygetNamespace in interface BundleCapabilitypublic Map<String,String> getDirectives()
BundleCapabilitygetDirectives in interface BundleCapabilitypublic Map<String,Object> getAttributes()
BundleCapabilitygetAttributes in interface BundleCapabilitypublic boolean isAttributeMandatory(String name)
public boolean isIncluded(String name)
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.