public class HostedCapability extends BundleCapabilityImpl
VERSION_ATTR
Constructor and Description |
---|
HostedCapability(BundleRevision host,
BundleCapabilityImpl cap) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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.
|
BundleCapabilityImpl |
getOriginalCapability() |
BundleRevision |
getRevision()
Returns the bundle revision declaring this capability.
|
List<String> |
getUses() |
int |
hashCode() |
String |
toString() |
isAttributeMandatory, isIncluded
public HostedCapability(BundleRevision host, BundleCapabilityImpl cap)
public BundleCapabilityImpl getOriginalCapability()
public BundleRevision getRevision()
BundleCapability
getRevision
in interface BundleCapability
getRevision
in class BundleCapabilityImpl
public String getNamespace()
BundleCapability
getNamespace
in interface BundleCapability
getNamespace
in class BundleCapabilityImpl
public Map<String,String> getDirectives()
BundleCapability
getDirectives
in interface BundleCapability
getDirectives
in class BundleCapabilityImpl
public Map<String,Object> getAttributes()
BundleCapability
getAttributes
in interface BundleCapability
getAttributes
in class BundleCapabilityImpl
public List<String> getUses()
getUses
in class BundleCapabilityImpl
public String toString()
toString
in class BundleCapabilityImpl
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.