gov.bnl.gums.command
Class GUMSCommandLine
java.lang.Object
gov.bnl.gums.command.GUMSCommandLine
- Direct Known Subclasses:
- AdminCommandLine, HostCommandLine
public class GUMSCommandLine
- extends java.lang.Object
- Author:
- Gabriele Carcassi, Jay Packard
Field Summary |
static java.lang.String |
command
|
Method Summary |
static void |
addCommand(java.lang.String className,
java.lang.String description)
|
static void |
clearCommands()
|
static void |
main(java.lang.String[] args)
|
static void |
printHelp()
|
static int |
runCommand(java.lang.String command,
java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
command
public static java.lang.String command
GUMSCommandLine
public GUMSCommandLine()
addCommand
public static void addCommand(java.lang.String className,
java.lang.String description)
- Parameters:
className
- description
-
clearCommands
public static void clearCommands()
main
public static void main(java.lang.String[] args)
- Parameters:
args
- the command line arguments
printHelp
public static void printHelp()
runCommand
public static int runCommand(java.lang.String command,
java.lang.String[] args)
- Parameters:
command
- args
-
- Returns:
Copyright © 2004-2008. All Rights Reserved.