- java.lang.Object
-
- java.lang.Enum<VerificationState>
-
- io.github.astrapi69.data.enumeration.VerificationState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VerificationState>
public enum VerificationState extends java.lang.Enum<VerificationState>
The enumVerificationState
holds the state of a verifiable object
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EVALUATE
This state signals an investigation has started to find the cause of the manipulationINITIAL_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 setVERIFIED
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.
-
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
-