org.apache.accumulo.core.util.shell.commands
public class AboutCommand extends Shell.Command
Shell.Command.CompletionSet| Constructor and Description |
|---|
AboutCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
int |
execute(String fullCommand,
org.apache.commons.cli.CommandLine cl,
Shell shellState) |
org.apache.commons.cli.Options |
getOptions() |
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. |
getName, getOptionsWithHelp, printHelp, printHelp, registerCompletion, registerCompletionForCommands, registerCompletionForNamespaces, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral, usagepublic String description()
description in class Shell.Commandpublic int execute(String fullCommand, org.apache.commons.cli.CommandLine cl, Shell shellState) throws IOException
execute in class Shell.CommandIOExceptionpublic int numArgs()
Shell.CommandShell.Command.usage() method.
Otherwise, Shell.Command.usage() does need to be overridden.numArgs in class Shell.Commandpublic org.apache.commons.cli.Options getOptions()
getOptions in class Shell.CommandCopyright © 2011–2016 The Apache Software Foundation. All rights reserved.