edu.isi.pegasus.planner.catalog.site.impl.old.classes
public class GlobusVersion extends Object
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
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;
|
| Modifier and Type | Method and Description |
|---|---|
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. |
public static final String MAJOR
public static final String MINOR
public static final String PATCH
private int mMajorVersion
private int mMinorVersion
private int mPatchVersion
public GlobusVersion()
public GlobusVersion(String version)
version - a . separated String denoting the version . e.g. 2.2.4public 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.public int getGlobusVersion(String version)
public String getGlobusVersion()
public String toMultiLine()
GlobusVersion
object in the multiline format.