Class GitCommit

    • Constructor Detail

      • GitCommit

        public GitCommit()
        Instantiates a new git commit.
    • Method Detail

      • getOwner

        public GHRepository getOwner()
        Gets owner.
        Returns:
        the repository that contains the commit.
      • getSHA1

        public String getSHA1()
        Gets SHA1.
        Returns:
        The SHA1 of this commit
      • getSha

        public String getSha()
        Gets SHA.
        Returns:
        The SHA of this commit
      • getNodeId

        public String getNodeId()
        Gets node id.
        Returns:
        The node id of this commit
      • getUrl

        public String getUrl()
        Gets URL.
        Returns:
        The URL of this commit
      • getHtmlUrl

        public String getHtmlUrl()
        Gets HTML URL.
        Returns:
        The HTML URL of this commit
      • getAuthor

        @WithBridgeMethods(value=GHAuthor.class,
                           adapterMethod="gitUserToGHAuthor")
        public GitUser getAuthor()
        Gets author.
        Returns:
        the author
      • getAuthoredDate

        public Date getAuthoredDate()
        Gets authored date.
        Returns:
        the authored date
      • getCommitter

        @WithBridgeMethods(value=GHAuthor.class,
                           adapterMethod="gitUserToGHAuthor")
        public GitUser getCommitter()
        Gets committer.
        Returns:
        the committer
      • getCommitDate

        public Date getCommitDate()
        Gets commit date.
        Returns:
        the commit date
      • getMessage

        public String getMessage()
        Gets message.
        Returns:
        Commit message.
      • getVerification

        public GHVerification getVerification()
        Gets Verification Status.
        Returns:
        the Verification status
      • getTreeSHA1

        public String getTreeSHA1()
        Gets the tree SHA 1.
        Returns:
        the tree SHA 1
      • getTreeUrl

        public String getTreeUrl()
        Gets the tree url.
        Returns:
        the tree url
      • getParentSHA1s

        public List<String> getParentSHA1s()
        Gets the parent SHA 1 s.
        Returns:
        the parent SHA 1 s