Package org.apache.felix.utils.resource
Class AbstractCapabilityRequirement
java.lang.Object
org.apache.felix.utils.resource.AbstractCapabilityRequirement
- Direct Known Subclasses:
CapabilityImpl
,RequirementImpl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the attributes.Return the directives.Return the namespace.org.osgi.resource.Resource
Return the resource.toString()
-
Field Details
-
resource
protected final org.osgi.resource.Resource resourceThe resource. Required. -
namespace
The namespace. Required. -
directives
Optional attributes. Never null. -
attributes
Optional attributes. Never null.
-
-
Constructor Details
-
AbstractCapabilityRequirement
-
-
Method Details
-
getNamespace
Return the namespace.- Returns:
- The namespace. This is never @{code null}.
-
getAttributes
Return the attributes.- Returns:
- The attributes, might be empty.
-
getDirectives
Return the directives.- Returns:
- The directives, might be empty.
-
getResource
public org.osgi.resource.Resource getResource()Return the resource.- Returns:
- The resource or @{code null}.
-
toString
-