Enum SigningInformationEnum
- java.lang.Object
-
- java.lang.Enum<SigningInformationEnum>
-
- fr.gouv.vitam.worker.core.plugin.signingInformation.SigningInformationEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SigningInformationEnum>
public enum SigningInformationEnum extends java.lang.Enum<SigningInformationEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FORBIDDEN_SIGNED_DOCUMENT
MANDATORY_SIGNED_DOCUMENT
MISSING_DECLARED_ADDITIONAL_PROOF
MISSING_DECLARED_SIGNATURE
MISSING_DECLARED_TIMESTAMP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
static SigningInformationEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SigningInformationEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MANDATORY_SIGNED_DOCUMENT
public static final SigningInformationEnum MANDATORY_SIGNED_DOCUMENT
-
FORBIDDEN_SIGNED_DOCUMENT
public static final SigningInformationEnum FORBIDDEN_SIGNED_DOCUMENT
-
MISSING_DECLARED_SIGNATURE
public static final SigningInformationEnum MISSING_DECLARED_SIGNATURE
-
MISSING_DECLARED_TIMESTAMP
public static final SigningInformationEnum MISSING_DECLARED_TIMESTAMP
-
MISSING_DECLARED_ADDITIONAL_PROOF
public static final SigningInformationEnum MISSING_DECLARED_ADDITIONAL_PROOF
-
-
Method Detail
-
values
public static SigningInformationEnum[] 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 (SigningInformationEnum c : SigningInformationEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SigningInformationEnum 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
-
getMessage
public java.lang.String getMessage()
-
-