Class GitCommand


  • public class GitCommand
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.maven.plugin.logging.Log log  
      private java.io.File workDir  
    • Constructor Summary

      Constructors 
      Constructor Description
      GitCommand()  
    • Field Detail

      • log

        private org.apache.maven.plugin.logging.Log log
      • workDir

        private java.io.File workDir
    • Constructor Detail

      • GitCommand

        public GitCommand()
    • Method Detail

      • execGitCommand

        private int execGitCommand​(GitOutputParser outputParser,
                                   java.lang.String... commands)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • fetchTags

        public boolean fetchTags()
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • findTagMatching

        public java.lang.String findTagMatching​(java.lang.String version)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • getCommitLog

        public java.util.List<GitCommit> getCommitLog​(java.lang.String fromCommitId)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • getLog

        public org.apache.maven.plugin.logging.Log getLog()
      • getTagCommitId

        public java.lang.String getTagCommitId​(java.lang.String tagId)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • getTags

        public java.util.List<java.lang.String> getTags()
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getWorkDir

        public java.io.File getWorkDir()
      • populateIssuesForRange

        public void populateIssuesForRange​(java.lang.String fromCommitId,
                                           java.lang.String toCommitId,
                                           Release rel)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • setLog

        public void setLog​(org.apache.maven.plugin.logging.Log log)
      • setWorkDir

        public void setWorkDir​(java.io.File basedir)