Package com.google.gerrit.sshd.commands
Class CreateBranchCommand
java.lang.Object
com.google.gerrit.sshd.BaseCommand
com.google.gerrit.sshd.SshCommand
com.google.gerrit.sshd.commands.CreateBranchCommand
- All Implemented Interfaces:
org.apache.sshd.server.command.Command
,org.apache.sshd.server.command.CommandDirectErrorStreamAware
,org.apache.sshd.server.command.CommandDirectInputStreamAware
,org.apache.sshd.server.command.CommandDirectOutputStreamAware
,org.apache.sshd.server.command.CommandDirectStreamsAware
,org.apache.sshd.server.command.CommandLifecycle
Create a new branch. *
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gerrit.sshd.BaseCommand
BaseCommand.CommandRunnable, BaseCommand.Failure, BaseCommand.ProjectCommandRunnable, BaseCommand.UnloggedFailure
-
Field Summary
Fields inherited from class com.google.gerrit.sshd.SshCommand
stderr, stdout
Fields inherited from class com.google.gerrit.sshd.BaseCommand
cleanup, dynamicBeans, ENC, err, exit, in, injector, out, STATUS_NOT_ADMIN, user
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.gerrit.sshd.SshCommand
start
Methods inherited from class com.google.gerrit.sshd.BaseCommand
destroy, die, die, die, enableGracefulStop, getArguments, getName, getPluginName, getTaskDescription, getTrimmedArguments, newCmdLineParser, onExit, parseCommandLine, parseCommandLine, provideStateTo, setArguments, setErrorStream, setExitCallback, setInputStream, setOutputStream, startThread, toPrintWriter, usage, writeError
-
Constructor Details
-
CreateBranchCommand
public CreateBranchCommand()
-
-
Method Details
-
run
- Specified by:
run
in classSshCommand
- Throws:
BaseCommand.UnloggedFailure
-