|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.javatest.tool.CommandManager
com.sun.javatest.tool.EnvironmentManager
public class EnvironmentManager
A command manager to handle the command line options for adding default values into every test environment. The supported options are:
-EsysProps
: add all the system properties into every
environment
-E
name=
value: set name
to value in every environment
Method Summary | |
---|---|
HelpTree.Node |
getHelp()
Get an object embodying the command line help for the commands managed by this CommandManager. |
boolean |
parseCommand(java.lang.String cmd,
java.util.ListIterator argIter,
CommandContext ctx)
Parse a command (and any arguments it might take). |
Methods inherited from class com.sun.javatest.tool.CommandManager |
---|
isMatch, isMatch, isPrefixMatch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public HelpTree.Node getHelp()
CommandManager
getHelp
in class CommandManager
public boolean parseCommand(java.lang.String cmd, java.util.ListIterator argIter, CommandContext ctx) throws Command.Fault
CommandManager
parseCommand
in class CommandManager
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
Command.Fault
- if the command is recognized by this command manager
but could not be successfully parsed or otherwise handled.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |