Class ConventionalCommitParser
java.lang.Object
se.bjurr.gitchangelog.internal.semantic.ConventionalCommitParser
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancommitBreaking(String commitMessage) static StringcommitDescription(Object commitMessage) commitFixes(Object commitMessage) commitRefs(Object commitMessage) static booleancommitScope(String commitMessage, com.github.jknack.handlebars.Options options) static booleancommitScope(Commit commit, com.github.jknack.handlebars.Options options) commitScopes(Object commitMessage) static booleancommitType(String commitMessage, com.github.jknack.handlebars.Options options) static booleancontainsBreaking(List<Commit> commits, com.github.jknack.handlebars.Options options) static booleancontainsIssueLabel(List<Issue> issues, com.github.jknack.handlebars.Options options) static booleancontainsIssueLabelOtherThan(List<Issue> issues, com.github.jknack.handlebars.Options options) static booleancontainsIssueType(List<Issue> issues, com.github.jknack.handlebars.Options options) static booleancontainsIssueTypeOtherThan(List<Issue> issues, com.github.jknack.handlebars.Options options) static booleancontainsScope(List<Commit> commits, com.github.jknack.handlebars.Options options) static booleancontainsType(List<Commit> commits, com.github.jknack.handlebars.Options options) static booleancontainsTypeAndScope(List<Commit> commits, com.github.jknack.handlebars.Options options) static booleancontainsTypeAndScopeNotIn(List<Commit> commits, com.github.jknack.handlebars.Options options) LikecontainsTypeAndScope(java.util.List<se.bjurr.gitchangelog.api.model.Commit>, com.github.jknack.handlebars.Options), but for checking that a type exists with a scope that is not one of the given, comma-separated, scopes.static booleanstatic booleancontainsTypeOtherThan(List<Commit> commits, com.github.jknack.handlebars.Options options) static StringgetMessageParts(String commitMessage) static booleanisReleaseTag(Tag tag) static booleanissueLabel(Issue issue, com.github.jknack.handlebars.Options options) static booleanstatic StringrevertedCommit(Object commitMessage)
-
Constructor Details
-
ConventionalCommitParser
public ConventionalCommitParser()
-
-
Method Details
-
getDate
-
commitScope
-
revertedCommit
-
commitFixes
-
commitRefs
-
commitDescription
-
commitScopes
-
commitBreaking
-
containsBreaking
-
containsType
-
containsScope
-
containsTypeAndScope
-
containsTypeAndScopeNotIn
public static boolean containsTypeAndScopeNotIn(List<Commit> commits, com.github.jknack.handlebars.Options options) LikecontainsTypeAndScope(java.util.List<se.bjurr.gitchangelog.api.model.Commit>, com.github.jknack.handlebars.Options), but for checking that a type exists with a scope that is not one of the given, comma-separated, scopes. Useful for a catch-all section (e.g. "chore" commits without a "deps" or "ci" scope) whose heading should not be rendered when every commit of that type has already been claimed by a more specific section. -
containsTypeAndScopeNotIn
-
containsTypeOtherThan
-
containsIssueType
-
containsIssueTypeOtherThan
-
containsIssueLabel
-
containsIssueLabelOtherThan
-
issueType
-
issueLabel
-
commitType
public static boolean commitType(String commitMessage, com.github.jknack.handlebars.Options options) -
commitScope
public static boolean commitScope(String commitMessage, com.github.jknack.handlebars.Options options) -
isReleaseTag
-
getMessageParts
-