Class GitCommand


  • public class GitCommand
    extends java.lang.Object
    The actual GitCR operations in complete for better testability
    • Constructor Summary

      Constructors 
      Constructor Description
      GitCommand​(java.lang.String toString, org.eclipse.jgit.transport.URIish originUri, java.io.File localRepo, org.eclipse.jgit.transport.RefSpec fetchRefSpec, boolean isOptional, org.eclipse.jgit.transport.CredentialsProvider credentials, int timeout, java.lang.Integer depth)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doClone()  
      void doFetch()
      fetch the deltas and try clone on failure
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GitCommand

        public GitCommand​(java.lang.String toString,
                          org.eclipse.jgit.transport.URIish originUri,
                          java.io.File localRepo,
                          org.eclipse.jgit.transport.RefSpec fetchRefSpec,
                          boolean isOptional,
                          org.eclipse.jgit.transport.CredentialsProvider credentials,
                          int timeout,
                          java.lang.Integer depth)
    • Method Detail

      • doClone

        public void doClone()
      • doFetch

        public void doFetch()
        fetch the deltas and try clone on failure
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object