public interface Resource
Modifier and Type | Method and Description |
---|---|
List<Capability> |
getCapabilities(String namespace)
Returns the capabilities declared by this resource.
|
List<Requirement> |
getRequirements(String namespace)
Returns the requirements declared by this bundle resource.
|
List<Capability> getCapabilities(String namespace)
namespace
- The name space of the declared capabilities to return or
null
to return the declared capabilities from all name
spaces.Capability
s,
or an empty list if this resource declares no capabilities in the
specified name space.List<Requirement> getRequirements(String namespace)
namespace
- The name space of the declared requirements to return or
null
to return the declared requirements from all name
spaces.Requirement
s, or an empty list if this resource declares no requirements in
the specified name space.Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.