Class TransformationRule


  • public class TransformationRule
    extends java.lang.Object
    This class represents a specific transformation logic the user wants to perform. Each transformationRule consist of two required fields apply and action. The apply-tag controls when the rule should be applied and can be set to BEFORE to have the rule being applied before or it can be set to AFTER to have the rule being applied after the replacement. The action-tag determines the string conversion rule that should be applied. Refer to https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/317 for a use-case.
    • Method Detail

      • getApply

        public java.lang.String getApply()
      • setApply

        public void setApply​(java.lang.String apply)
      • getAction

        public java.lang.String getAction()
      • setAction

        public void setAction​(java.lang.String action)