gov.bnl.gums.command
Class GUMSCommandLine

java.lang.Object
  extended by 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
           
 
Constructor Summary
GUMSCommandLine()
           
 
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
 

Field Detail

command

public static java.lang.String command
Constructor Detail

GUMSCommandLine

public GUMSCommandLine()
Method Detail

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.