@Retention(value=CLASS) @Target(value={ANNOTATION_TYPE,TYPE}) public @interface RequireCapability
About
Modifier and Type | Required Element and Description |
---|---|
String |
filter
A filter expression that is asserted on the Capabilities belonging to the
given namespace.
|
String |
ns
The capability namespace.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
effective
Specifies the time a Requirement is considered, either 'resolve'
(default) or another name.
|
Resolution |
resolution
A mandatory Requirement forbids the bundle to resolve when the
Requirement is not satisfied; an optional Requirement allows a bundle to
resolve even if the Requirement is not satisfied.
|
String |
value |
public abstract String ns
osgi.contract
.public abstract String filter
(&(a=1)(b=2))
matches only a Capability that specifies both attributes at the required
value, not two capabilties that each specify one of the attributes
correctly. A filter is optional, if no filter directive is specified the
Requirement always matches.public abstract String value
public abstract String effective
public abstract Resolution resolution
Copyright © 2015 aQute SARL. All rights reserved.