| Package | Description |
|---|---|
| org.osgi.framework |
Framework Package Version 1.8.
|
| org.osgi.framework.wiring |
Framework Wiring Package Version 1.2.
|
| org.osgi.service.packageadmin |
Package Admin Package Version 1.2.
|
| Modifier and Type | Field | Description |
|---|---|---|
static Version |
Version.emptyVersion |
The empty version "0.0.0".
|
| Modifier and Type | Method | Description |
|---|---|---|
Version |
VersionRange.getLeft() |
Returns the left endpoint of this version range.
|
Version |
VersionRange.getRight() |
Returns the right endpoint of this version range.
|
Version |
Bundle.getVersion() |
Returns the version of this bundle as specified by its
Bundle-Version manifest header. |
static Version |
Version.parseVersion(java.lang.String version) |
Parses a version identifier from the specified string.
|
static Version |
Version.valueOf(java.lang.String version) |
Returns a
Version object holding the version identifier in the
specified String. |
| Modifier and Type | Method | Description |
|---|---|---|
int |
Version.compareTo(Version other) |
Compares this
Version object to another Version. |
boolean |
VersionRange.includes(Version version) |
Returns whether this version range includes the specified version.
|
| Constructor | Description |
|---|---|
VersionRange(char leftType,
Version leftEndpoint,
Version rightEndpoint,
char rightType) |
Creates a version range from the specified versions.
|
| Modifier and Type | Method | Description |
|---|---|---|
Version |
BundleRevision.getVersion() |
Returns the version for this bundle revision.
|
| Modifier and Type | Method | Description |
|---|---|---|
Version |
ExportedPackage.getVersion() |
Deprecated.
Returns the version of this exported package.
|
Version |
RequiredBundle.getVersion() |
Deprecated.
Returns the version of this required bundle.
|