Enum TransformationRule.ActionEnum

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

protected static enum TransformationRule.ActionEnum extends Enum<TransformationRule.ActionEnum>
Each transformationRule consist of two required fields apply and action. The action-tag determines the string conversion rule that should be applied.
  • Enum Constant Details

  • Method Details

    • values

      public static TransformationRule.ActionEnum[] 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.ActionEnum 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
    • perform

      protected abstract String perform(String input)