| |
|
| java.lang.Object org.griphyn.cPlanner.classes.GlobusVersion
GlobusVersion | public class GlobusVersion (Code) | | 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.
author: Gaurang Mehta gmehta@isi.edu author: Karan Vahi vahi@isi.edu version: $Revision: 50 $ |
Field Summary | |
final public static String | MAJOR The constant for the major version type. | final public static String | MINOR The constant for the minor version type. | final public static String | PATCH The constant for patche version type. |
Method Summary | |
public int | getGlobusVersion(String version) Returns the version corresponding to a particular version type.
If an invalid version type is specified then 0 is returned.
Parameters: version - the String type corresponding to the version thatyou want. | public String | getGlobusVersion() Returns the Globus version as a dot separated String. | public String | toMultiLine() Returns the textual description of the contents of GlobusVersion
object in the multiline format. | public String | toString() Returns the textual description of the contents of GlobusVersion
object. |
MAJOR | final public static String MAJOR(Code) | | The constant for the major version type.
|
MINOR | final public static String MINOR(Code) | | The constant for the minor version type.
|
PATCH | final public static String PATCH(Code) | | The constant for patche version type.
|
GlobusVersion | public GlobusVersion()(Code) | | The default constructor.
|
GlobusVersion | public GlobusVersion(String version)(Code) | | Overloaded constructor for the class;
Parameters: version - a . separated String denoting the version . e.g. 2.2.4 |
GlobusVersion | public GlobusVersion(int major, int minor, int patch)(Code) | | Constructor to set the version information
Parameters: major - Specifies the Major version number. Parameters: minor - Specifies the minor version number. Parameters: patch - Specifies the patch version number. |
getGlobusVersion | public int getGlobusVersion(String version)(Code) | | Returns the version corresponding to a particular version type.
If an invalid version type is specified then 0 is returned.
Parameters: version - the String type corresponding to the version thatyou want. int value corresponding to the version,0 in case of incorrect version type. See Also: GlobusVersion.MAJOR See Also: GlobusVersion.MINOR See Also: GlobusVersion.PATCH |
getGlobusVersion | public String getGlobusVersion()(Code) | | Returns the Globus version as a dot separated String.
It is of type major.minor.patch where major, minor and patch are the
various version numbers stored in the class.
the version a dot separated String. |
toMultiLine | public String toMultiLine()(Code) | | Returns the textual description of the contents of GlobusVersion
object in the multiline format.
the textual description in multiline format. |
toString | public String toString()(Code) | | Returns the textual description of the contents of GlobusVersion
object.
the textual description. |
|
|
|