Class GitCommitAdapter

  • All Implemented Interfaces:
    CommitAdapter<org.eclipse.jgit.revwalk.RevCommit>

    public class GitCommitAdapter
    extends Object
    implements CommitAdapter<org.eclipse.jgit.revwalk.RevCommit>
    Git commit adapter.
    • Method Detail

      • getShortMessage

        public String getShortMessage()
        Returns the commit message.
        Specified by:
        getShortMessage in interface CommitAdapter<org.eclipse.jgit.revwalk.RevCommit>
        Returns:
        The commit message.
      • getCommit

        public org.eclipse.jgit.revwalk.RevCommit getCommit()
        Returns the commit itself.
        Specified by:
        getCommit in interface CommitAdapter<org.eclipse.jgit.revwalk.RevCommit>
        Returns:
        The SCM commit itself.