public class VerboseCommand extends Command
Command.FaultDEFAULT_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, toStringpublic 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
Commandrun in class Commandctx - context information that may be set up by preceding commands.Command.Fault - if there is an error while executing this commandCopyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.