public class FormatterCommand extends Shell.Command
Shell.Command.CompletionSet
Constructor and Description |
---|
FormatterCommand() |
Modifier and Type | Method and Description |
---|---|
String |
description() |
int |
execute(String fullCommand,
org.apache.commons.cli.CommandLine cl,
Shell shellState) |
static Class<? extends Formatter> |
getCurrentFormatter(String tableName,
Shell shellState) |
org.apache.commons.cli.Options |
getOptions() |
int |
numArgs() |
getName, getOptionsWithHelp, printHelp, printHelp, registerCompletion, registerCompletionForCommands, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral, usage
public String description()
description
in class Shell.Command
public int execute(String fullCommand, org.apache.commons.cli.CommandLine cl, Shell shellState) throws Exception
execute
in class Shell.Command
Exception
public static Class<? extends Formatter> getCurrentFormatter(String tableName, Shell shellState)
public org.apache.commons.cli.Options getOptions()
getOptions
in class Shell.Command
public int numArgs()
numArgs
in class Shell.Command
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.