Enum Class VerificationState

java.lang.Object
java.lang.Enum<VerificationState>
io.github.astrapi69.data.enumeration.VerificationState
All Implemented Interfaces:
Serializable, Comparable<VerificationState>, Constable

public enum VerificationState extends Enum<VerificationState>
The enum VerificationState holds the state of a verifiable object
  • Enum Constant Details

    • INITIAL_BROKEN

      public static final VerificationState INITIAL_BROKEN
      This state signals that a verifiable object has been manipulated and therefore not processable anymore. An investigation have to be started to find the cause of the manipulation
    • EVALUATE

      public static final VerificationState EVALUATE
      This state signals an investigation has started to find the cause of the manipulation
    • RESET

      public static final VerificationState RESET
      This state signals that the investigation has finished and the signature of the verifiable object can be new generated and set
    • VERIFIED

      public static final VerificationState VERIFIED
      This state signals that the verifiable object is verified and is processable
  • Method Details

    • values

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