public class VerboseCommand extends Command
Command.Fault
DEFAULT_DTMODE, DESKTOP_NOT_REQUIRED_DTMODE, DESKTOP_REQUIRED_DTMODE
Modifier and Type | Method and Description |
---|---|
static void |
addOption(java.lang.String name,
HelpTree.Node node)
Add a option to the set recognized by this command.
|
void |
run(CommandContext ctx)
Execute the work embodied by this command, using the given command context.
|
addArg, getArgs, getConfig, getCustomSplash, getDesktopMode, isActionCommand, nextArg, putbackArg, toString
public static void addOption(java.lang.String name, HelpTree.Node node)
name
- the name of the option to be accepted.node
- the help node for this optionpublic void run(CommandContext ctx) throws Command.Fault
Command
run
in class Command
ctx
- context information that may be set up by preceding commands.Command.Fault
- if there is an error while executing this commandCopyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.