| Modifier and Type | Class and Description |
|---|---|
static class |
PersistentResource.Attr |
static class |
PersistentResource.DataType |
static class |
PersistentResource.Namespace |
class |
PersistentResource.RC
Deprecated.
|
static class |
PersistentResource.RCData |
| Modifier and Type | Field and Description |
|---|---|
PersistentResource.Namespace[] |
namespaces |
byte[] |
sha |
| Constructor and Description |
|---|
PersistentResource() |
PersistentResource(byte[] digest,
java.util.List<Capability> caps,
java.util.List<Requirement> reqs)
Deprecated.
|
PersistentResource(Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Capability> |
getCapabilities(java.lang.String ns)
Deprecated.
|
static PersistentResource.RCData |
getData(java.util.Map<java.lang.String,java.lang.Object> attributes,
java.util.Map<java.lang.String,java.lang.String> directives)
Deprecated.
|
java.util.List<Requirement> |
getRequirements(java.lang.String ns)
Deprecated.
|
Resource |
getResource() |
java.lang.String |
toString()
Return a string representation of this DTO suitable for use when
debugging.
|
public PersistentResource.Namespace[] namespaces
public byte[] sha
public PersistentResource()
public PersistentResource(Resource resource)
@Deprecated
public PersistentResource(byte[] digest,
java.util.List<Capability> caps,
java.util.List<Requirement> reqs)
public Resource getResource() throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String toString()
DTOThe format of the string representation is not specified and subject to change.
@Deprecated public java.util.List<Capability> getCapabilities(java.lang.String ns)
ResourcegetCapabilities in interface Resourcens - 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.@Deprecated public java.util.List<Requirement> getRequirements(java.lang.String ns)
ResourcegetRequirements in interface Resourcens - 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.@Deprecated public static PersistentResource.RCData getData(java.util.Map<java.lang.String,java.lang.Object> attributes, java.util.Map<java.lang.String,java.lang.String> directives)
Copyright (c) aQute SARL (2000, 2017) and others. All Rights Reserved.