Enum Class Validator.Action

java.lang.Object
java.lang.Enum<Validator.Action>
net.shibboleth.metadata.validate.Validator.Action
All Implemented Interfaces:
Serializable, Comparable<Validator.Action>, Constable
Enclosing interface:
Validator<V>

public static enum Validator.Action extends Enum<Validator.Action>
Validator instances are normally applied in sequence in a chain of responsibility pattern orchestrated by the caller. The sequence is regarded as completed when all validators have been called, or when the first returns a DONE value. This can be used to short-circuit evaluation in the case where the problem detected would invalidate subsequent tests.
  • Enum Constant Details

  • Constructor Details

    • Action

      private Action()
  • Method Details

    • values

      public static Validator.Action[] 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 Validator.Action 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