Class GitSituation

java.lang.Object
me.qoomon.gitversioning.commons.GitSituation

public class GitSituation extends Object
  • Constructor Details

    • GitSituation

      public GitSituation(org.eclipse.jgit.lib.Repository repository) throws IOException
      Throws:
      IOException
  • Method Details

    • getRootDirectory

      public File getRootDirectory()
    • getRev

      public String getRev()
    • getTimestamp

      public ZonedDateTime getTimestamp()
    • getBranch

      public String getBranch()
    • setBranch

      public void setBranch(String branch)
    • isDetached

      public boolean isDetached()
    • getTags

      public List<String> getTags()
    • setTags

      public void setTags(List<String> tags)
    • isClean

      public boolean isClean()
    • setDescribeTagPattern

      public void setDescribeTagPattern(Pattern describeTagPattern)
    • getDescribeTagPattern

      public Pattern getDescribeTagPattern()
    • getDescription

      public GitDescription getDescription()