|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Imported
A common interface for the entries in the three import headers: Import-Package
, Import-Bundle
, and
Import-Library
.
ImportedPackage
,
ImportedBundle
,
ImportedLibrary
Method Summary | |
---|---|
Resolution |
getResolution()
Returns the value of the import's resolution directive. |
VersionRange |
getVersion()
Returns the version range of the import. |
void |
setResolution(Resolution resolution)
Sets the value of the import's resolution directive. |
void |
setVersion(VersionRange versionRange)
Sets the version range of the import. |
Methods inherited from interface com.springsource.util.osgi.manifest.Parameterised |
---|
getAttributes, getDirectives |
Methods inherited from interface com.springsource.util.osgi.manifest.Parseable |
---|
resetFromParseString, toParseString |
Method Detail |
---|
VersionRange getVersion()
version
attribute is specified
the default range of [0, infinity) is returned.
void setVersion(VersionRange versionRange)
versionRange
- the import's version range.Resolution getResolution()
resolution
directive. If no such directive is specified the
default value of Resolution.MANDATORY
is returned.
void setResolution(Resolution resolution)
resolution
directive.
resolution
- The import's resolution directive
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |