|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.client.VersionNumber
public class VersionNumber
This class just prints the current version number on stdout.
| Field Summary | |
|---|---|
private String |
m_application
application's own name. |
| Constructor Summary | |
|---|---|
VersionNumber(String appName)
ctor: Constructs a new instance with the given application name. |
|
| Method Summary | |
|---|---|
protected gnu.getopt.LongOpt[] |
generateValidOptions()
Creates a set of options. |
static void |
main(String[] args)
|
void |
showUsage()
Prints the usage string. |
static void |
showVersion(Version v,
boolean build)
Print the version information onto stdout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private String m_application
| Constructor Detail |
|---|
public VersionNumber(String appName)
appName - is the name of the application| Method Detail |
|---|
public void showUsage()
protected gnu.getopt.LongOpt[] generateValidOptions()
public static void showVersion(Version v,
boolean build)
v - is the version information class.build - if true, also show build information with version.public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||