|
Openfire 3.5.2 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.util.Version
public class Version
Holds version information for Openfire.
Nested Class Summary | |
---|---|
static class |
Version.ReleaseStatus
A class to represent the release status of the server. |
Constructor Summary | |
---|---|
Version(int major,
int minor,
int micro,
Version.ReleaseStatus status,
int statusVersion)
Create a new version information object. |
Method Summary | |
---|---|
int |
getMajor()
Obtain the major release number for this product. |
int |
getMicro()
Obtain the micro release number for this product. |
int |
getMinor()
Obtain the minor release number for this product. |
Version.ReleaseStatus |
getStatus()
Returns the release status of this product. |
int |
getStatusVersion()
Obtain the status relase number for this product. |
String |
getVersionString()
Returns the version number of this instance of Openfire as a String (ie major.minor.revision). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Version(int major, int minor, int micro, Version.ReleaseStatus status, int statusVersion)
major
- the major release number.minor
- the minor release number.micro
- the micro release number.status
- the status of the release.Method Detail |
---|
public String getVersionString()
public Version.ReleaseStatus getStatus()
public int getMajor()
public int getMinor()
public int getMicro()
public int getStatusVersion()
|
Openfire 3.5.2 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |