public class HelpHandler extends CommandHandlerWithHelp
helpArg| Constructor and Description |
|---|
HelpHandler(CommandRegistry cmdRegistry) |
HelpHandler(String command,
CommandRegistry cmdRegistry) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doHandle(CommandContext ctx) |
void |
handle(CommandContext ctx)
Executes the command.
|
isAvailable, isBatchMode, printHelp, printListaddArgument, getArgument, getArguments, hasArgument, hasArgument, recognizeArgumentspublic HelpHandler(CommandRegistry cmdRegistry)
public HelpHandler(String command, CommandRegistry cmdRegistry)
public void handle(CommandContext ctx) throws CommandLineException
CommandHandlerhandle in interface CommandHandlerhandle in class CommandHandlerWithHelpctx - current command contextCommandLineException - if for any reason the command can't be properly handled
the implementation must throw an instance of CommandLineException.protected void doHandle(CommandContext ctx)
doHandle in class CommandHandlerWithHelpCopyright © 2014 JBoss by Red Hat. All rights reserved.