|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImportPackageSpecification
A representation of one package import constraint as seen in a bundle manifest and managed by a state and resolver.
Clients may implement this interface.
Field Summary | |
---|---|
static java.lang.String |
RESOLUTION_DYNAMIC
The dynamic resolution directive value. |
static java.lang.String |
RESOLUTION_OPTIONAL
The optional resolution directive value. |
static java.lang.String |
RESOLUTION_STATIC
The static resolution directive value. |
Method Summary | |
---|---|
java.util.Map |
getAttributes()
Returns the arbitrary attributes which this import package may be resolved to. |
java.lang.String |
getBundleSymbolicName()
Returns the symbolic name of the bundle this import package must be resolved to. |
VersionRange |
getBundleVersionRange()
Returns the version range which this import package may be resolved to. |
java.lang.Object |
getDirective(java.lang.String key)
Returns the specified directive that control this import package. |
java.util.Map |
getDirectives()
Returns the directives that control this import package. |
Methods inherited from interface org.eclipse.osgi.service.resolver.VersionConstraint |
---|
getBundle, getName, getSupplier, getVersionRange, isResolved, isSatisfiedBy |
Field Detail |
---|
static final java.lang.String RESOLUTION_STATIC
static final java.lang.String RESOLUTION_OPTIONAL
static final java.lang.String RESOLUTION_DYNAMIC
Method Detail |
---|
java.lang.String getBundleSymbolicName()
null
indicates any symbolic name.VersionRange getBundleVersionRange()
java.util.Map getAttributes()
java.util.Map getDirectives()
java.lang.Object getDirective(java.lang.String key)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |