Class Commit


  • public class Commit
    extends Object
    SCM commit representation.
    Author:
    rossillo
    • Constructor Detail

      • Commit

        public Commit​(CommitAdapter commit)
        Constructor to initialize the commit.
        Parameters:
        commit - the SCM-specific commit.
    • Method Detail

      • isConventional

        public boolean isConventional()
        Returns true if this commit is written in conventional commit style; false otherwise.
        Returns:
        true, if the commit is conventional commits compliant (matches the pattern).