Enum Class FileRulesErrorCode
java.lang.Object
java.lang.Enum<FileRulesErrorCode>
fr.gouv.vitam.functional.administration.common.FileRulesErrorCode
- All Implemented Interfaces:
Serializable
,Comparable<FileRulesErrorCode>
,Constable
FileRules Import ErrorCode enumeration
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUsed rule could not be deletedMissing informationFile not in csv formatRUle duration exceed limitRule id duplicationUpdated rulesWrong rule durationWrong rule measurementUnknown RuletypeIncorrect total duration -
Method Summary
Modifier and TypeMethodDescriptionstatic FileRulesErrorCode
Returns the enum constant of this class with the specified name.static FileRulesErrorCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STP_IMPORT_RULES_RULEID_DUPLICATION
Rule id duplication -
STP_IMPORT_RULES_NOT_CSV_FORMAT
File not in csv format -
STP_IMPORT_RULES_WRONG_RULETYPE_UNKNOW
Unknown Ruletype -
STP_IMPORT_RULES_WRONG_RULEMEASUREMENT
Wrong rule measurement -
STP_IMPORT_RULES_WRONG_RULEDURATION
Wrong rule duration -
STP_IMPORT_RULES_WRONG_TOTALDURATION
Incorrect total duration -
STP_IMPORT_RULES_DELETE_USED_RULES
Used rule could not be deleted -
STP_IMPORT_RULES_UPDATED_RULES
Updated rules -
STP_IMPORT_RULES_MISSING_INFORMATION
Missing information -
STP_IMPORT_RULES_RULEDURATION_EXCEED
RUle duration exceed limit
-
-
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
-