Class TransformationRule

java.lang.Object
pl.project13.maven.git.TransformationRule

public class TransformationRule extends 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 TransformationRule.ApplyEnum.BEFORE to have the rule being applied before or it can be set to TransformationRule.ApplyEnum.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.