public class HelpHandler extends CommandHandlerWithHelp
helpArg
Constructor and Description |
---|
HelpHandler() |
HelpHandler(String command) |
Modifier and Type | Method and Description |
---|---|
protected void |
doHandle(CommandContext ctx) |
void |
handle(CommandContext ctx)
Executes the command.
|
isAvailable, isBatchMode, printHelp, printList
addArgument, getArguments, hasArgument, hasArgument
public HelpHandler()
public HelpHandler(String command)
public void handle(CommandContext ctx) throws CommandFormatException
CommandHandler
handle
in interface CommandHandler
handle
in class CommandHandlerWithHelp
ctx
- current command contextCommandFormatException
protected void doHandle(CommandContext ctx)
doHandle
in class CommandHandlerWithHelp
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.