public interface ImportPackageSpecification extends VersionConstraint
This interface is not intended to be implemented by clients. The
StateObjectFactory
should be used to construct instances.
Modifier and Type | Field and Description |
---|---|
static String |
RESOLUTION_DYNAMIC
The dynamic resolution directive value.
|
static String |
RESOLUTION_OPTIONAL
The optional resolution directive value.
|
static String |
RESOLUTION_STATIC
The static resolution directive value.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAttributes()
Returns the arbitrary attributes which this import package may be resolved to.
|
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.
|
Object |
getDirective(String key)
Returns the specified directive that control this import package.
|
Map<String,Object> |
getDirectives()
Returns the directives that control this import package.
|
getBundle, getName, getRequirement, getSupplier, getUserObject, getVersionRange, isResolved, isSatisfiedBy, setUserObject
static final String RESOLUTION_STATIC
static final String RESOLUTION_OPTIONAL
static final String RESOLUTION_DYNAMIC
String getBundleSymbolicName()
null
indicates any symbolic name.VersionRange getBundleVersionRange()
Map<String,Object> getAttributes()
Map<String,Object> getDirectives()
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.