Enum ActionType

java.lang.Object
java.lang.Enum<ActionType>
net.gcnt.additionsplus.main.ActionType
All Implemented Interfaces:
Serializable, Comparable<ActionType>, java.lang.constant.Constable

public enum ActionType extends Enum<ActionType>
List of Action types to handle certain actions accordingly.
  • Enum Constant Details

    • INNER

      public static final ActionType INNER
      Action that can have inline arguments. This action often does nothing on its own and has to be combined with a NORMAL action to work. We also call this action the 'check-action' as it often checks for a certain requirement. Example: [action=...]
    • OUTER

      public static final ActionType OUTER
      Action that has an opening and closing tag with arguments in between. Example: [action]...[/action]
    • STANDALONE

      public static final ActionType STANDALONE
      Action that does not necessarily require a value to work, and will work without any arguments specified. Example: [action]
    • NORMAL

      public static final ActionType NORMAL
      Action that requires a value to work, and cannot have any inline arguments. Example: [action]...
    • COMBINED

      public static final ActionType COMBINED
      Action that has to be combined with a NORMAL or INNER action in order to work. Does nothing on its own. Example: [action][normal/inner action]...
  • Method Details

    • values

      public static ActionType[] 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 ActionType 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