Enum Class Modifiers.Reaction

java.lang.Object
java.lang.Enum<Modifiers.Reaction>
eu.bandm.tscore.base.Modifiers.Reaction
All Implemented Interfaces:
Serializable, Comparable<Modifiers.Reaction>, Constable
Enclosing class:
Modifiers

public static enum Modifiers.Reaction extends Enum<Modifiers.Reaction>
Encodes how the code will react to a specific input condition. See Modifiers.
  • Enum Constant Details

    • silentlyAllow

      public static final Modifiers.Reaction silentlyAllow
      Let the case pass without any reaction.
    • warn

      public static final Modifiers.Reaction warn
      Cause a warning message.
    • reject

      public static final Modifiers.Reaction reject
      Cause an error message, thus terminating the processing of the data.
  • Method Details

    • values

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

      public static Modifiers.Reaction valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null