|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VersionRange
A representation of a Version Range. @see section 3.2.6 of the OSGi Service Platform Core Specification.
| Method Summary | |
|---|---|
org.osgi.framework.Version |
getExactVersion()
this method returns the exact version from the versionInfo obj. |
org.osgi.framework.Version |
getMaximumVersion()
get the maximum version |
org.osgi.framework.Version |
getMinimumVersion()
get the minimum version |
VersionRange |
intersect(VersionRange range)
Create a new version range that is the intersection of this and the argument. |
boolean |
isExactVersion()
check if the versioninfo is the exact version |
boolean |
isMaximumExclusive()
is the maximum version exclusive |
boolean |
isMaximumUnbounded()
is the maximum version unbounded |
boolean |
isMinimumExclusive()
is the minimum version exclusive |
boolean |
matches(org.osgi.framework.Version version)
This method tests to see if the provided version is inside this range. |
| Method Detail |
|---|
org.osgi.framework.Version getExactVersion()
org.osgi.framework.Version getMaximumVersion()
org.osgi.framework.Version getMinimumVersion()
boolean isMaximumExclusive()
boolean isMaximumUnbounded()
boolean isMinimumExclusive()
boolean isExactVersion()
boolean matches(org.osgi.framework.Version version)
version - the version to test.
VersionRange intersect(VersionRange range)
this and the argument.
In other words, the largest version range that lies within both this and
the parameter.
range - a version range to be intersected with this.
null if no intersection is possible.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||