|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.griphyn.cPlanner.classes.GlobusVersion
public class GlobusVersion
This is a data class that stores the globus version installed and to be used on a particular pool for the gridftp server or the jobmanagers.
| Field Summary | |
|---|---|
static String |
MAJOR
The constant for the major version type. |
static String |
MINOR
The constant for the minor version type. |
private int |
mMajorVersion
This variable defines the major version number. |
private int |
mMinorVersion
This variable defines the minor version number. |
private int |
mPatchVersion
This variable defines the patch version number. |
static String |
PATCH
The constant for patche version type. |
| Constructor Summary | |
|---|---|
GlobusVersion()
The default constructor. |
|
GlobusVersion(int major,
int minor,
int patch)
Constructor to set the version information |
|
GlobusVersion(String version)
Overloaded constructor for the class; |
|
| Method Summary | |
|---|---|
String |
getGlobusVersion()
Returns the Globus version as a dot separated String. |
int |
getGlobusVersion(String version)
Returns the version corresponding to a particular version type. |
String |
toMultiLine()
Returns the textual description of the contents of GlobusVersion
object in the multiline format. |
String |
toString()
Returns the textual description of the contents of GlobusVersion
object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String MAJOR
public static final String MINOR
public static final String PATCH
private int mMajorVersion
private int mMinorVersion
private int mPatchVersion
| Constructor Detail |
|---|
public GlobusVersion()
public GlobusVersion(String version)
version - a . separated String denoting the version . e.g. 2.2.4
public GlobusVersion(int major,
int minor,
int patch)
major - Specifies the Major version number.minor - Specifies the minor version number.patch - Specifies the patch version number.| Method Detail |
|---|
public int getGlobusVersion(String version)
version - the String type corresponding to the version that
you want.
MAJOR,
MINOR,
PATCHpublic String getGlobusVersion()
public String toMultiLine()
GlobusVersion
object in the multiline format.
public String toString()
GlobusVersion
object.
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||