Enum Class CheckIngestContractActionHandler.CheckIngestContractStatus
java.lang.Object
java.lang.Enum<CheckIngestContractActionHandler.CheckIngestContractStatus>
fr.gouv.vitam.worker.core.handler.CheckIngestContractActionHandler.CheckIngestContractStatus
- All Implemented Interfaces:
Serializable
,Comparable<CheckIngestContractActionHandler.CheckIngestContractStatus>
,Constable
- Enclosing class:
- CheckIngestContractActionHandler
public static enum CheckIngestContractActionHandler.CheckIngestContractStatus
extends Enum<CheckIngestContractActionHandler.CheckIngestContractStatus>
Check ingest contract status values
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionError when checking contextContext inactiveContext not foundExisting but inactive contractIngestContract not present in the contextIngest constract not present in the Manifest.Missing contract: not exists in the databaseFatal when getting referentialOther error situationManagement Contract existing but inactiveManagement Contract invalidManagement Contract not foundOK contract -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTRACT_NOT_IN_MANIFEST
public static final CheckIngestContractActionHandler.CheckIngestContractStatus CONTRACT_NOT_IN_MANIFESTIngest constract not present in the Manifest. -
CONTRACT_NOT_IN_CONTEXT
public static final CheckIngestContractActionHandler.CheckIngestContractStatus CONTRACT_NOT_IN_CONTEXTIngestContract not present in the context -
CONTEXT_UNKNOWN
Context not found -
CONTEXT_INACTIVE
Context inactive -
CONTEXT_CHECK_ERROR
Error when checking context -
CONTRACT_UNKNOWN
Missing contract: not exists in the database -
CONTRACT_INACTIVE
Existing but inactive contract -
MANAGEMENT_CONTRACT_UNKNOWN
public static final CheckIngestContractActionHandler.CheckIngestContractStatus MANAGEMENT_CONTRACT_UNKNOWNManagement Contract not found -
MANAGEMENT_CONTRACT_INACTIVE
public static final CheckIngestContractActionHandler.CheckIngestContractStatus MANAGEMENT_CONTRACT_INACTIVEManagement Contract existing but inactive -
MANAGEMENT_CONTRACT_INVALID
public static final CheckIngestContractActionHandler.CheckIngestContractStatus MANAGEMENT_CONTRACT_INVALIDManagement Contract invalid -
OK
OK contract -
KO
Other error situation -
FATAL
Fatal when getting referential
-
-
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
-