|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.tif.jacob.core.Version
public final class Version
This class defines a software version used for jACOB applications and the jACOB application server itself.
| Field Summary | |
|---|---|
static Version |
ADMIN
The version of the jACOB admin application. |
static Version |
ENGINE
The version of the jACOB application server. |
static java.lang.String |
ENGINE_NAME
The name of the jACOB application server. |
static boolean |
IS_OPEN_ENGINE
Flag whether this jACOB application server is the open version. |
static java.lang.String |
RCS_ID
The internal revision control system id. |
static java.lang.String |
RCS_REV
The internal revision control system id in short form. |
| Constructor Summary | |
|---|---|
Version(int major,
int minor)
Constructs a new version instance consisting of a major and minor version number. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object anObject)
|
int |
getMajor()
Returns the major version number. |
int |
getMinor()
Returns the minor version number. |
int |
hashCode()
|
boolean |
isCompatible(Version v)
True if 'this' version is compatible with the hands over version. |
boolean |
isGreaterOrEqual(Version v)
Compares whether this version is greater or equal to a given version. |
boolean |
isPerfect(Version v)
|
static void |
main(java.lang.String[] args)
Internal method needed by the jacapp ant task. |
static Version |
parseVersion(java.lang.String versionStr)
Converts the given version string to a version instance. |
java.lang.String |
toString()
Returns the version as a string. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final transient java.lang.String RCS_ID
public static final transient java.lang.String RCS_REV
public static final Version ENGINE
public static final java.lang.String ENGINE_NAME
public static final boolean IS_OPEN_ENGINE
public static final Version ADMIN
| Constructor Detail |
|---|
public Version(int major,
int minor)
major - major version numberminor - minor version number| Method Detail |
|---|
public boolean isGreaterOrEqual(Version v)
v - the version to compare
public boolean isCompatible(Version v)
v - the version to compare compatibility
public boolean isPerfect(Version v)
v -
public static Version parseVersion(java.lang.String versionStr)
versionStr - the version string
public int getMajor()
public int getMinor()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public boolean equals(java.lang.Object anObject)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic static void main(java.lang.String[] args)
|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||