Package edu.isi.pegasus.planner.client
Class VersionNumber
- java.lang.Object
-
- edu.isi.pegasus.planner.client.VersionNumber
-
public class VersionNumber extends java.lang.ObjectThis class just prints the current version number on stdout.- Version:
- $Revision$
- Author:
- Jens-S. Vöckler, Yong Zhao
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringm_applicationapplication's own name.
-
Constructor Summary
Constructors Constructor Description VersionNumber(java.lang.String appName)ctor: Constructs a new instance with the given application name.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected gnu.getopt.LongOpt[]generateValidOptions()Creates a set of options.static voidmain(java.lang.String[] args)voidshowUsage()Prints the usage string.static voidshowVersion(Version v, boolean build)Print the version information onto stdout.
-
-
-
Method Detail
-
showUsage
public void showUsage()
Prints the usage string.
-
generateValidOptions
protected gnu.getopt.LongOpt[] generateValidOptions()
Creates a set of options.- Returns:
- the assembled long option list
-
showVersion
public static void showVersion(Version v, boolean build)
Print the version information onto stdout.- Parameters:
v- is the version information class.build- if true, also show build information with version.
-
main
public static void main(java.lang.String[] args)
-
-