public abstract class AbstractGitCommand extends BaseCommand
BaseCommand.CommandRunnable, BaseCommand.Failure, BaseCommand.ProjectCommandRunnable, BaseCommand.UnloggedFailure
Modifier and Type | Field and Description |
---|---|
protected Project |
project |
protected ProjectControl |
projectControl |
protected Project.NameKey |
projectName |
protected org.eclipse.jgit.lib.Repository |
repo |
protected ProjectState |
state |
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) |
destroy, die, die, getArguments, getName, getPluginName, getTaskDescription, getTrimmedArguments, newCmdLineParser, onExit, parseCommandLine, parseCommandLine, provideStateTo, setArguments, setErrorStream, setExitCallback, setInputStream, setOutputStream, startThread, toPrintWriter, usage, writeError
protected ProjectControl projectControl
protected org.eclipse.jgit.lib.Repository repo
protected ProjectState state
protected Project.NameKey projectName
protected Project project
public void start(org.apache.sshd.server.Environment env)
protected abstract void runImpl() throws java.io.IOException, PermissionBackendException, BaseCommand.Failure
java.io.IOException
PermissionBackendException
BaseCommand.Failure