org.apache.accumulo.core.util.shell.commands
public class DebugCommand extends Shell.Command
Shell.Command.CompletionSet
Constructor and Description |
---|
DebugCommand() |
Modifier and Type | Method and Description |
---|---|
String |
description() |
int |
execute(String fullCommand,
org.apache.commons.cli.CommandLine cl,
Shell shellState) |
int |
numArgs()
If the number of arguments is not always zero (not including those arguments handled through Options), make sure to override the
Shell.Command.usage() method. |
void |
registerCompletion(Token root,
Map<Shell.Command.CompletionSet,Set<String>> special) |
String |
usage() |
getName, getOptions, getOptionsWithHelp, printHelp, printHelp, registerCompletionForCommands, registerCompletionForNamespaces, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral
public int execute(String fullCommand, org.apache.commons.cli.CommandLine cl, Shell shellState) throws IOException
execute
in class Shell.Command
IOException
public String description()
description
in class Shell.Command
public void registerCompletion(Token root, Map<Shell.Command.CompletionSet,Set<String>> special)
registerCompletion
in class Shell.Command
public String usage()
usage
in class Shell.Command
public int numArgs()
Shell.Command
Shell.Command.usage()
method.
Otherwise, Shell.Command.usage()
does need to be overridden.numArgs
in class Shell.Command
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.