Enum FileAgenciesErrorCode
- java.lang.Object
-
- java.lang.Enum<FileAgenciesErrorCode>
-
- fr.gouv.vitam.functional.administration.common.FileAgenciesErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FileAgenciesErrorCode>
public enum FileAgenciesErrorCode extends java.lang.Enum<FileAgenciesErrorCode>
FileAgencies Import ErrorCode enumeration
-
-
Enum Constant Summary
Enum Constants Enum Constant Description STP_IMPORT_AGENCIES_DELETE_USED_AGENCIES
File including a deletion of a used agencySTP_IMPORT_AGENCIES_ID_DUPLICATION
Id duplication ErrorSTP_IMPORT_AGENCIES_MISSING_INFORMATIONS
Missing informationSTP_IMPORT_AGENCIES_NOT_CSV_FORMAT
File not in csv formatSTP_IMPORT_AGENCIES_UPDATED_AGENCIES
Updated agencies
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileAgenciesErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FileAgenciesErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STP_IMPORT_AGENCIES_ID_DUPLICATION
public static final FileAgenciesErrorCode STP_IMPORT_AGENCIES_ID_DUPLICATION
Id duplication Error
-
STP_IMPORT_AGENCIES_NOT_CSV_FORMAT
public static final FileAgenciesErrorCode STP_IMPORT_AGENCIES_NOT_CSV_FORMAT
File not in csv format
-
STP_IMPORT_AGENCIES_DELETE_USED_AGENCIES
public static final FileAgenciesErrorCode STP_IMPORT_AGENCIES_DELETE_USED_AGENCIES
File including a deletion of a used agency
-
STP_IMPORT_AGENCIES_MISSING_INFORMATIONS
public static final FileAgenciesErrorCode STP_IMPORT_AGENCIES_MISSING_INFORMATIONS
Missing information
-
STP_IMPORT_AGENCIES_UPDATED_AGENCIES
public static final FileAgenciesErrorCode STP_IMPORT_AGENCIES_UPDATED_AGENCIES
Updated agencies
-
-
Method Detail
-
values
public static FileAgenciesErrorCode[] 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 (FileAgenciesErrorCode c : FileAgenciesErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileAgenciesErrorCode 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
-
-