Enum TransformationRule.ApplyEnum

java.lang.Object
java.lang.Enum<TransformationRule.ApplyEnum>
pl.project13.maven.git.TransformationRule.ApplyEnum
All Implemented Interfaces:
Serializable, Comparable<TransformationRule.ApplyEnum>, java.lang.constant.Constable
Enclosing class:
TransformationRule

protected static enum TransformationRule.ApplyEnum extends Enum<TransformationRule.ApplyEnum>
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.
  • Enum Constant Details

  • Method Details

    • values

      public static TransformationRule.ApplyEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TransformationRule.ApplyEnum valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null