public class ReviewCommand extends SshCommand
BaseCommand.CommandRunnable, BaseCommand.Failure, BaseCommand.ProjectCommandRunnable, BaseCommand.UnloggedFailure
stderr, stdout
ENC, err, in, out, STATUS_NOT_ADMIN
Constructor and Description |
---|
ReviewCommand() |
Modifier and Type | Method and Description |
---|---|
protected com.google.gerrit.util.cli.CmdLineParser |
newCmdLineParser(java.lang.Object options)
Construct a new parser for this command's received command line.
|
protected void |
parseCommandLine()
Parses the command line argument, injecting parsed values into fields.
|
protected void |
run() |
start
destroy, die, die, getArguments, getName, getPluginName, getTaskDescription, getTrimmedArguments, onExit, parseCommandLine, provideStateTo, setArguments, setErrorStream, setExitCallback, setInputStream, setOutputStream, startThread, startThread, toPrintWriter, usage, writeError
protected final com.google.gerrit.util.cli.CmdLineParser newCmdLineParser(java.lang.Object options)
BaseCommand
newCmdLineParser
in class BaseCommand
protected void run() throws BaseCommand.UnloggedFailure
run
in class SshCommand
BaseCommand.UnloggedFailure
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