Enum Class VerificationState
- All Implemented Interfaces:
Serializable
,Comparable<VerificationState>
,Constable
The enum
VerificationState
holds the state of a verifiable object-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis state signals an investigation has started to find the cause of the manipulationThis state signals that a verifiable object has been manipulated and therefore not processable anymore.This state signals that the investigation has finished and the signature of the verifiable object can be new generated and setThis state signals that the verifiable object is verified and is processable -
Method Summary
Modifier and TypeMethodDescriptionstatic VerificationState
Returns the enum constant of this class with the specified name.static VerificationState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
This state signals an investigation has started to find the cause of the manipulation -
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 Details
-
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
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 nameNullPointerException
- if the argument is null
-