|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface VersionConstraint
VersionConstraints represent the relationship between two bundles (in the case of bundle requires) or a bundle and a package (in the case of import/export).
Clients may implement this interface.
| Method Summary | |
|---|---|
BundleDescription |
getBundle()
Returns the bundle that declares this constraint. |
java.lang.String |
getName()
Returns this constraint's name. |
BaseDescription |
getSupplier()
Returns the supplier that satisfies this constraint, if it is resolved. |
VersionRange |
getVersionRange()
Returns the version range for this constraint. |
boolean |
isResolved()
Returns whether this constraint is resolved. |
boolean |
isSatisfiedBy(BaseDescription supplier)
Returns whether this constraint could be satisfied by the given supplier. |
| Method Detail |
|---|
java.lang.String getName()
VersionRange getVersionRange()
nullBundleDescription getBundle()
boolean isResolved()
true if this bundle is resolved, false
otherwiseboolean isSatisfiedBy(BaseDescription supplier)
supplier - a supplier to be tested against this constraint (may be
null)
true if this constraint could be resolved using the supplier,
false otherwiseBaseDescription getSupplier()
nullisResolved()
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||