| Modifier and Type | Class and Description |
|---|---|
static class |
PersistentResource.Attr |
static class |
PersistentResource.DataType |
static class |
PersistentResource.Namespace |
class |
PersistentResource.RC |
static class |
PersistentResource.RCData |
| Modifier and Type | Field and Description |
|---|---|
PersistentResource.Namespace[] |
namespaces |
byte[] |
sha |
| Constructor and Description |
|---|
PersistentResource() |
PersistentResource(byte[] sha,
List<Capability> caps,
List<Requirement> reqs) |
| Modifier and Type | Method and Description |
|---|---|
List<Capability> |
getCapabilities(String namespace)
Returns the capabilities declared by this resource.
|
static PersistentResource.RCData |
getData(Map<String,Object> attributes,
Map<String,String> directives) |
List<Requirement> |
getRequirements(String namespace)
Returns the requirements declared by this bundle resource.
|
public PersistentResource.Namespace[] namespaces
public byte[] sha
public PersistentResource()
public PersistentResource(byte[] sha,
List<Capability> caps,
List<Requirement> reqs)
public List<Capability> getCapabilities(String namespace)
ResourcegetCapabilities in interface Resourcenamespace - The namespace of the declared capabilities to return or
null to return the declared capabilities from all
namespaces.Capabilitys
from the specified namespace. The returned list will be empty if
this resource declares no capabilities in the specified
namespace.public List<Requirement> getRequirements(String namespace)
ResourcegetRequirements in interface Resourcenamespace - The namespace of the declared requirements to return or
null to return the declared requirements from all
namespaces.Requirement
s from the specified namespace. The returned list will be empty
if this resource declares no requirements in the specified
namespace.Copyright © 2014 aQute SARL. All rights reserved.