|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.framework.wiring.BundleRequirementImpl
org.apache.felix.framework.resolver.WrappedRequirement
public class WrappedRequirement
| Constructor Summary | |
|---|---|
WrappedRequirement(BundleRevision host,
BundleRequirementImpl req)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares this Requirement to another Requirement. |
Map<String,Object> |
getAttributes()
Returns the attributes of this requirement. |
Map<String,String> |
getDirectives()
Returns the directives of this requirement. |
SimpleFilter |
getFilter()
|
String |
getNamespace()
Returns the namespace of this requirement. |
BundleRequirementImpl |
getOriginalRequirement()
|
BundleRevision |
getRevision()
Returns the bundle revision declaring this requirement. |
int |
hashCode()
Returns the hashCode of this Requirement. |
boolean |
isOptional()
|
String |
toString()
|
| Methods inherited from class org.apache.felix.framework.wiring.BundleRequirementImpl |
|---|
getResource, matches |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WrappedRequirement(BundleRevision host,
BundleRequirementImpl req)
| Method Detail |
|---|
public boolean equals(Object obj)
RequirementRequirement to another Requirement.
This Requirement is equal to another Requirement if they
have the same namespace, directives and attributes and are declared by
the same resource.
equals in interface Requirementequals in class Objectobj - The object to compare against this Requirement.
true if this Requirement is equal to the other
object; false otherwise.public int hashCode()
RequirementRequirement.
hashCode in interface RequirementhashCode in class ObjectRequirement.public BundleRequirementImpl getOriginalRequirement()
public BundleRevision getRevision()
BundleRequirement
getRevision in interface BundleRequirementgetRevision in class BundleRequirementImplpublic String getNamespace()
BundleRequirement
getNamespace in interface BundleRequirementgetNamespace in interface RequirementgetNamespace in class BundleRequirementImplpublic SimpleFilter getFilter()
getFilter in class BundleRequirementImplpublic boolean isOptional()
isOptional in class BundleRequirementImplpublic Map<String,String> getDirectives()
BundleRequirement
All requirement directives not specified by the
wiring namespaces have no specified
semantics and are considered extra user defined information.
getDirectives in interface BundleRequirementgetDirectives in interface RequirementgetDirectives in class BundleRequirementImplpublic Map<String,Object> getAttributes()
BundleRequirementRequirement attributes have no specified semantics and are considered extra user defined information.
getAttributes in interface BundleRequirementgetAttributes in interface RequirementgetAttributes in class BundleRequirementImplpublic String toString()
toString in class BundleRequirementImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||