com.waveset.util
Class Command

java.lang.Object
  extended bycom.waveset.util.CommandProcess
      extended bycom.waveset.util.Command

public class Command
extends CommandProcess

Launches commands. In particular, sets up the classpath for the application. Otherwise, setting CLASSPATH exceeds Windows line length limits.

An instance of Command represents a command line interface (CLI). Each command is an alias to a fully-qualified class name, for which class we invoke the static main method.

The main method of this class launches a command specified as an input argument (either a command alias or a fully-qualified class name).


Nested Class Summary
 
Nested classes inherited from class com.waveset.util.CommandProcess
CommandProcess.LineOption, CommandProcess.LineOptionImpl, CommandProcess.Register
 
Field Summary
static java.lang.String code_id
           
 
Fields inherited from class com.waveset.util.CommandProcess
MAINPARAMETER_TYPES, NOARGS
 
Constructor Summary
Command()
           
 
Method Summary
 java.util.List getLineOptions()
          Returns all the register command line options..
static void main(java.lang.String[] args)
           
 
Methods inherited from class com.waveset.util.CommandProcess
print, printException, println, println, run, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values
Constructor Detail

Command

public Command()
Method Detail

getLineOptions

public java.util.List getLineOptions()
Returns all the register command line options..

Overrides:
getLineOptions in class CommandProcess

main

public static void main(java.lang.String[] args)