Module data.api

Enum VerificationState

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      EVALUATE
      This state signals an investigation has started to find the cause of the manipulation
      INITIAL_BROKEN
      This state signals that a verifiable object has been manipulated and therefore not processable anymore.
      RESET
      This state signals that the investigation has finished and the signature of the verifiable object can be new generated and set
      VERIFIED
      This state signals that the verifiable object is verified and is processable
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static VerificationState valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static VerificationState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • 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 Detail

      • values

        public static VerificationState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (VerificationState c : VerificationState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VerificationState valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null