|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={SUPERPACKAGE,TYPE}) @Retention(value=RUNTIME) public @interface ResourceModuleConstraint
Indicates the version constraint of the resource module definitions that
this target module definition requires. The version constraint is either a
version, a version range, or a combination of both, following the format
described in the VersionConstraint
class. This metadata
annotation is applied to the development module, i.e. the superpackage
construct.
For example,
// // This target module only uses resource modules with version 1.0 <= x < 2.0. // @ResourceModuleConstraint("[1.0, 2.0)") superpackage org.foo.xml { ... }
VersionConstraint
Optional Element Summary | |
---|---|
String |
value
Version constraint of the resource module definition. |
public abstract String value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |