public abstract class AbstractGitCommand extends BaseCommand
BaseCommand.CommandRunnable, BaseCommand.Failure, BaseCommand.ProjectCommandRunnable, BaseCommand.UnloggedFailure
Modifier and Type | Field and Description |
---|---|
protected com.google.gerrit.reviewdb.client.Project |
project |
protected ProjectControl |
projectControl |
protected org.eclipse.jgit.lib.Repository |
repo |
ENC, err, in, out, STATUS_NOT_ADMIN
Constructor and Description |
---|
AbstractGitCommand() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
runImpl() |
void |
start(org.apache.sshd.server.Environment env) |
checkExclusivity, destroy, die, die, getArguments, getName, getPluginName, newCmdLineParser, onExit, parseCommandLine, parseCommandLine, provideStateTo, setArguments, setErrorStream, setExitCallback, setInputStream, setOutputStream, startThread, startThread, toPrintWriter, usage
protected ProjectControl projectControl
protected org.eclipse.jgit.lib.Repository repo
protected com.google.gerrit.reviewdb.client.Project project
public void start(org.apache.sshd.server.Environment env)
protected abstract void runImpl() throws IOException, BaseCommand.Failure
IOException
BaseCommand.Failure