|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.framework.wiring.BundleRequirementImpl
public class BundleRequirementImpl
| Constructor Summary | |
|---|---|
BundleRequirementImpl(BundleRevision revision,
String namespace,
Map<String,String> dirs,
Map<String,Object> attrs)
|
|
BundleRequirementImpl(BundleRevision revision,
String namespace,
Map<String,String> dirs,
Map<String,Object> attrs,
SimpleFilter filter)
|
|
| Method Summary | |
|---|---|
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 name space of this requirement. |
BundleRevision |
getRevision()
Returns the bundle revision declaring this requirement. |
boolean |
isOptional()
|
boolean |
matches(BundleCapability cap)
Returns whether the specified capability matches this requirement. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BundleRequirementImpl(BundleRevision revision,
String namespace,
Map<String,String> dirs,
Map<String,Object> attrs,
SimpleFilter filter)
public BundleRequirementImpl(BundleRevision revision,
String namespace,
Map<String,String> dirs,
Map<String,Object> attrs)
| Method Detail |
|---|
public String getNamespace()
BundleRequirement
getNamespace in interface BundleRequirementpublic Map<String,String> getDirectives()
BundleRequirement
getDirectives in interface BundleRequirementpublic Map<String,Object> getAttributes()
BundleRequirement
getAttributes in interface BundleRequirementpublic BundleRevision getRevision()
BundleRequirement
getRevision in interface BundleRequirementpublic boolean matches(BundleCapability cap)
BundleRequirement
matches in interface BundleRequirementcap - The capability to match to this requirement.
true if the specified capability has the same
name space as this requirement and the
filter for this requirement matches the
attributes of the
specified capability; false otherwise.public boolean isOptional()
public SimpleFilter getFilter()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||