public class ConnectHandler extends CommandHandlerWithHelp
helpArg
Constructor and Description |
---|
ConnectHandler() |
ConnectHandler(String command) |
Modifier and Type | Method and Description |
---|---|
protected void |
doHandle(CommandContext ctx) |
boolean |
hasArgument(int index)
Checks whether the command handler accepts an argument with the specified index.
|
handle, isAvailable, isBatchMode, printHelp, printList
addArgument, getArguments, hasArgument
public ConnectHandler()
public ConnectHandler(String command)
public boolean hasArgument(int index)
CommandHandler
hasArgument
in interface CommandHandler
hasArgument
in class CommandHandlerWithArguments
index
- argument index to checkprotected void doHandle(CommandContext ctx)
doHandle
in class CommandHandlerWithHelp
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.