|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.util.BuildVersion
@PublicAPI(stability=VOLATILE,
mayInstantiate=false,
mayExtend=false,
mayInvoke=true)
public final class BuildVersionRepresents a particular version of OpenDS useful for making comparisons between versions.
| Constructor Summary | |
|---|---|
BuildVersion(int major,
int minor,
int point,
long rev)
Constructs an instance from build data. |
|
| Method Summary | |
|---|---|
int |
compareTo(BuildVersion version)
Retrieves an integer value that indicates the relative order between this build version and the provided build version object. |
static BuildVersion |
getCurrent()
Creates a new instance using current build data. |
int |
getMajorVersion()
Gets the major release number. |
int |
getMinorVersion()
Gets the minor release number. |
int |
getPointVersion()
Gets the point release number. |
long |
getRevisionNumber()
Gets the Subversion revision number. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuildVersion(int major,
int minor,
int point,
long rev)
major - release numberminor - release numberpoint - release numberrev - Subversion revision number| Method Detail |
|---|
public static BuildVersion getCurrent()
public int getMajorVersion()
public int getMinorVersion()
public int getPointVersion()
public long getRevisionNumber()
public int compareTo(BuildVersion version)
compareTo in interface java.lang.Comparable<BuildVersion>version - The build version object for which to make the
determination.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||