Package com.sun.javatest.tool
Class HttpManager
- java.lang.Object
-
- com.sun.javatest.tool.CommandManager
-
- com.sun.javatest.tool.HttpManager
-
public class HttpManager extends CommandManager
A tool manager to handle the command line options for starting an HTTP server to monitor JT Harness's progress while executing tests. The supported options are:-startHttp: start an HTTP server
-
-
Constructor Summary
Constructors Constructor Description HttpManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HelpTree.NodegetHelp()Get an object embodying the command line help for the commands managed by this CommandManager.booleanparseCommand(java.lang.String cmd, java.util.ListIterator<java.lang.String> argIter, CommandContext ctx)Parse a command (and any arguments it might take).-
Methods inherited from class com.sun.javatest.tool.CommandManager
isMatch, isMatch, isPrefixMatch
-
-
-
-
Method Detail
-
getHelp
public HelpTree.Node getHelp()
Description copied from class:CommandManagerGet an object embodying the command line help for the commands managed by this CommandManager.- Specified by:
getHelpin classCommandManager- Returns:
- an object embodying the command line help for the commands managed by this CommandManager
-
parseCommand
public boolean parseCommand(java.lang.String cmd, java.util.ListIterator<java.lang.String> argIter, CommandContext ctx)Description copied from class:CommandManagerParse a command (and any arguments it might take).- Specified by:
parseCommandin classCommandManager- Parameters:
cmd- the command to be parsedargIter- an iterator from which to get any arguments that might be required by the optionctx- a context object to use while parsing the command- Returns:
- true if the command is recognized and successfully parsed, or false if the command is not recognized by this command manager
-
-