public class Query extends SshCommand implements DynamicOptions.BeanReceiver
BaseCommand.CommandRunnable, BaseCommand.Failure, BaseCommand.ProjectCommandRunnable, BaseCommand.UnloggedFailure
stderr, stdout
cleanup, ENC, err, exit, in, out, STATUS_NOT_ADMIN, user
Constructor and Description |
---|
Query() |
Modifier and Type | Method and Description |
---|---|
protected void |
parseCommandLine()
Parses the command line argument, injecting parsed values into fields.
|
protected void |
run() |
void |
setDynamicBean(java.lang.String plugin,
DynamicOptions.DynamicBean dynamicBean) |
start
destroy, die, die, die, getArguments, getName, getPluginName, getTaskDescription, getTrimmedArguments, newCmdLineParser, onExit, parseCommandLine, provideStateTo, setArguments, setErrorStream, setExitCallback, setInputStream, setOutputStream, startThread, toPrintWriter, usage, writeError
protected void run() throws java.lang.Exception
run
in class SshCommand
java.lang.Exception
public void setDynamicBean(java.lang.String plugin, DynamicOptions.DynamicBean dynamicBean)
setDynamicBean
in interface DynamicOptions.BeanReceiver
protected void parseCommandLine() throws BaseCommand.UnloggedFailure
BaseCommand
This method must be explicitly invoked to cause a parse.
parseCommandLine
in class BaseCommand
BaseCommand.UnloggedFailure
- if the command line arguments were invalid.Option
,
Argument