Schnittstelle GitCommit

Alle bekannten Implementierungsklassen:
JGitCommit

public interface GitCommit
This interface specifies the basic properties needed for the mojos to access the information about a Git commit
Autor:
Sebastian Staudt
  • Methodendetails

    • getAuthorDate

      Date getAuthorDate()
      Returns the date when this commit has been authored
      Gibt zurück:
      The author date of this commit
    • getAuthorEmailAddress

      String getAuthorEmailAddress()
      Returns the email address of the author of this commit
      Gibt zurück:
      The commit author's email address
    • getAuthorName

      String getAuthorName()
      Returns the name of the author of this commit
      Gibt zurück:
      The commit author's name
    • getAuthorTimeZone

      TimeZone getAuthorTimeZone()
      Returns the timezone in which this commit has been authored
      Gibt zurück:
      The author timezone of this commit
    • getCommitterDate

      Date getCommitterDate()
      Returns the date when this commit has been committed
      Gibt zurück:
      The committer date of this commit
    • getCommitterEmailAddress

      String getCommitterEmailAddress()
      Returns the email address of the committer
      Gibt zurück:
      The committer's email address
    • getCommitterName

      String getCommitterName()
      Returns the name of the committer
      Gibt zurück:
      The committer's name
    • getCommitterTimeZone

      TimeZone getCommitterTimeZone()
      Returns the timezone in which this commit has been committed
      Gibt zurück:
      The committer timezone of this commit
    • getId

      String getId()
      Returns the SHA hash ID of this commit
      Gibt zurück:
      The SHA ID of this commit
    • getMessage

      String getMessage()
      Returns the message of this commit
      Gibt zurück:
      The message of this commit
    • getMessageSubject

      String getMessageSubject()
      Returns the subject of the commit's message

      The message subject is the first line of the commit message.

      Gibt zurück:
      The message subject of this commit
    • isMergeCommit

      boolean isMergeCommit()
      Gibt zurück:
      true if this commit is a merge commit