Enum Assert

java.lang.Object
java.lang.Enum<Assert>
eu.europa.esig.trustedlist.enums.Assert
All Implemented Interfaces:
Serializable, Comparable<Assert>

public enum Assert extends Enum<Assert>
Trusted List assert list See TS 119 612
  • Enum Constant Details

    • ALL

      public static final Assert ALL
      if all of the assertion shall be met
    • AT_LEAST_ONE

      public static final Assert AT_LEAST_ONE
      if at least one of the assertion shall be met
    • NONE

      public static final Assert NONE
      if all of the assertion shall be met
  • Method Details

    • values

      public static Assert[] 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 Assert 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
    • getValue

      public String getValue()
      Gets the value of the enumeration, corresponding to the one defined in XSD
      Returns:
      String