Class LocalGitRepo


  • public class LocalGitRepo
    extends Object
    • Field Detail

      • git

        public final org.eclipse.jgit.api.Git git
    • Method Detail

      • revertChanges

        public boolean revertChanges​(org.apache.maven.plugin.logging.Log log,
                                     List<File> changedFiles)
                              throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • hasLocalTag

        public boolean hasLocalTag​(String tagName)
                            throws org.eclipse.jgit.api.errors.GitAPIException
        Throws:
        org.eclipse.jgit.api.errors.GitAPIException
      • tagAndPushRepo

        public void tagAndPushRepo​(Collection<AnnotatedTag> tags)
                            throws org.eclipse.jgit.api.errors.GitAPIException
        Throws:
        org.eclipse.jgit.api.errors.GitAPIException
      • tagsFrom

        public List<String> tagsFrom​(List<AnnotatedTag> annotatedTags)
                              throws org.eclipse.jgit.api.errors.GitAPIException
        Throws:
        org.eclipse.jgit.api.errors.GitAPIException
      • getTags

        public List<String> getTags​(List<String> tagNamesToSearchFor)
                             throws org.eclipse.jgit.api.errors.GitAPIException
        Throws:
        org.eclipse.jgit.api.errors.GitAPIException
      • allTags

        public Collection<org.eclipse.jgit.lib.Ref> allTags()
                                                     throws org.eclipse.jgit.api.errors.GitAPIException
        Throws:
        org.eclipse.jgit.api.errors.GitAPIException