Enum TypeOfProof
- java.lang.Object
-
- java.lang.Enum<TypeOfProof>
-
- eu.europa.esig.validationreport.enums.TypeOfProof
-
- All Implemented Interfaces:
UriBasedEnum,Serializable,Comparable<TypeOfProof>
public enum TypeOfProof extends Enum<TypeOfProof> implements UriBasedEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description POLICYwhen the POE has been derived by the policyPROVIDEDwhen the POE has been provided to the SVA as an inputVALIDATIONwhen the POE has been derived during validation
-
Method Summary
Modifier and Type Method Description StringgetUri()static TypeOfProofvalueOf(String name)Returns the enum constant of this type with the specified name.static TypeOfProof[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALIDATION
public static final TypeOfProof VALIDATION
when the POE has been derived during validation
-
PROVIDED
public static final TypeOfProof PROVIDED
when the POE has been provided to the SVA as an input
-
POLICY
public static final TypeOfProof POLICY
when the POE has been derived by the policy
-
-
Method Detail
-
values
public static TypeOfProof[] 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 TypeOfProof 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 nameNullPointerException- if the argument is null
-
getUri
public String getUri()
- Specified by:
getUriin interfaceUriBasedEnum
-
-