public class EnvironmentManager extends CommandManager
-EsysProps
: add all the system properties into every
environment
-E
name=
value: set name
to value in every environment
Modifier and Type | Method and Description |
---|---|
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).
|
isMatch, isMatch, isPrefixMatch
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 commandCommand.Fault
- if the command is recognized by this command manager
but could not be successfully parsed or otherwise handled.Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.