Class VerboseCommand
java.lang.Object
com.sun.javatest.tool.Command
com.sun.javatest.tool.VerboseCommand
A command supporting an extensible set of boolean options.
Valid options must be registered with the addOption method.
The current setting of the various options can be obtained from
the current CommandContext.
-
Nested Class Summary
Nested classes/interfaces inherited from class Command
Command.Fault -
Field Summary
Fields inherited from class Command
DEFAULT_DTMODE, DESKTOP_NOT_REQUIRED_DTMODE, DESKTOP_REQUIRED_DTMODE -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddOption(String name, HelpTree.Node node) Add a option to the set recognized by this command.voidrun(CommandContext ctx) Execute the work embodied by this command, using the given command context.Methods inherited from class Command
addArg, getArgs, getConfig, getCustomSplash, getDesktopMode, isActionCommand, nextArg, putbackArg, toString
-
Method Details
-
addOption
Add a option to the set recognized by this command.- Parameters:
name- the name of the option to be accepted.node- the help node for this option
-
run
Description copied from class:CommandExecute the work embodied by this command, using the given command context.
-