public class BatchMoveLineHandler extends CommandHandlerWithHelp
helpArg| Constructor and Description |
|---|
BatchMoveLineHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doHandle(CommandContext ctx) |
boolean |
hasArgument(CommandContext ctx,
int index)
Checks whether the command handler accepts an argument with the specified index.
|
boolean |
isAvailable(CommandContext ctx)
Checks whether the command is available in the current context
(e.g.
|
handle, isBatchMode, printHelp, printListaddArgument, getArgument, getArguments, hasArgument, recognizeArgumentspublic boolean isAvailable(CommandContext ctx)
CommandHandlerisAvailable in interface CommandHandlerisAvailable in class CommandHandlerWithHelpctx - current contextprotected void doHandle(CommandContext ctx) throws CommandFormatException
doHandle in class CommandHandlerWithHelpCommandFormatExceptionpublic boolean hasArgument(CommandContext ctx, int index)
CommandHandlerhasArgument in interface CommandHandlerhasArgument in class CommandHandlerWithArgumentsctx - the current contextindex - argument index to checkCopyright © 2014 JBoss by Red Hat. All rights reserved.