|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DynamicallyImportedPackage
Represents a single entry in a bundle's DynamicImport-Package header.
| Method Summary | |
|---|---|
java.lang.String |
getBundleSymbolicName()
Returns the value of the import's bundle-symbolic-name attribute. |
VersionRange |
getBundleVersion()
Returns the value of the import's bundle-version attribute. |
java.lang.String |
getPackageName()
Returns the (possibly wildcarded) name of the package in this entry. |
VersionRange |
getVersion()
Returns the version range of the import. |
void |
setBundleSymbolicName(java.lang.String bundleSymbolicName)
Sets the value of the import's bundle-symbolic-name attribute. |
void |
setBundleVersion(VersionRange versionRange)
Sets the value of the import's bundle-version attribute. |
void |
setPackageName(java.lang.String packageName)
Sets the name of the package in this entry. |
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 |
|---|
java.lang.String getPackageName()
void setPackageName(java.lang.String packageName)
packageName - the package's name.VersionRange getBundleVersion()
bundle-version attribute. If no such attribute is specified
the default version range of [0, infinity) is returned.
bundle-version attribute.void setBundleVersion(VersionRange versionRange)
bundle-version attribute.
versionRange - the value of the bundle-version attribute.java.lang.String getBundleSymbolicName()
bundle-symbolic-name attribute. If no such attribute is
specified null is returned.
bundle-symbolic-name attribute.void setBundleSymbolicName(java.lang.String bundleSymbolicName)
bundle-symbolic-name attribute.
bundleSymbolicName - the value of the bundle-symbolic-name attribute.VersionRange getVersion()
version attribute is specified
the default range of [0, infinity) is returned.
void setVersion(VersionRange versionRange)
versionRange - the import's version range.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||