Class GitPgmCommand

  • All Implemented Interfaces:
    java.lang.Runnable, org.apache.sshd.common.file.FileSystemAware, org.apache.sshd.common.session.SessionContextHolder, org.apache.sshd.common.session.SessionHolder<org.apache.sshd.server.session.ServerSession>, org.apache.sshd.common.util.threads.ExecutorServiceCarrier, GitLocationResolverCarrier, 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, org.apache.sshd.server.session.ServerSessionAware, org.apache.sshd.server.session.ServerSessionHolder

    public class GitPgmCommand
    extends AbstractGitCommand
    TODO Add javadoc
    • Field Summary

      • Fields inherited from class org.apache.sshd.server.command.AbstractFileSystemCommand

        fileSystem
      • Fields inherited from class org.apache.sshd.server.command.AbstractCommandSupport

        cbCalled, cmdRunner, executorService
      • Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

        log
    • Constructor Summary

      Constructors 
      Constructor Description
      GitPgmCommand​(GitLocationResolver rootDirResolver, java.lang.String command, org.apache.sshd.common.util.threads.CloseableExecutorService executorService)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class org.apache.sshd.server.command.AbstractFileSystemCommand

        destroy, getFileSystem, setFileSystem
      • Methods inherited from class org.apache.sshd.server.command.AbstractCommandSupport

        getCommand, getEnvironment, getErrorStream, getExecutorService, getExitCallback, getInputStream, getOutputStream, getServerSession, getSession, getStartedCommandFuture, onExit, onExit, setExitCallback, setInputStream, setSession, start
      • Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

        debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.apache.sshd.common.file.FileSystemAware

        setFileSystemFactory
      • Methods inherited from interface org.apache.sshd.common.session.SessionHolder

        getSessionContext
    • Constructor Detail

      • GitPgmCommand

        public GitPgmCommand​(GitLocationResolver rootDirResolver,
                             java.lang.String command,
                             org.apache.sshd.common.util.threads.CloseableExecutorService executorService)
        Parameters:
        rootDirResolver - Resolver for GIT root directory
        command - Command to execute
        executorService - An CloseableExecutorService to be used when start(ChannelSession, Environment)-ing execution. If null an ad-hoc single-threaded service is created and used.
    • Method Detail

      • run

        public void run()