Class GitPgmCommand

All Implemented Interfaces:
Runnable, FileSystemAware, SessionContextHolder, SessionHolder<ServerSession>, ExecutorServiceCarrier, GitLocationResolverCarrier, Command, CommandDirectErrorStreamAware, CommandDirectInputStreamAware, CommandDirectOutputStreamAware, CommandDirectStreamsAware, CommandLifecycle, ServerSessionAware, ServerSessionHolder

public class GitPgmCommand extends AbstractGitCommand
TODO Add javadoc
  • Constructor Details

    • GitPgmCommand

      public GitPgmCommand(GitLocationResolver rootDirResolver, String command, 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 Details

    • run

      public void run()