Enum CheckIngestContractActionHandler.CheckIngestContractStatus
- java.lang.Object
-
- java.lang.Enum<CheckIngestContractActionHandler.CheckIngestContractStatus>
-
- fr.gouv.vitam.worker.core.handler.CheckIngestContractActionHandler.CheckIngestContractStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CheckIngestContractActionHandler.CheckIngestContractStatus>
- Enclosing class:
- CheckIngestContractActionHandler
public static enum CheckIngestContractActionHandler.CheckIngestContractStatus extends java.lang.Enum<CheckIngestContractActionHandler.CheckIngestContractStatus>
Check ingest contract status values
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTEXT_CHECK_ERROR
Error when checking contextCONTEXT_INACTIVE
Context inactiveCONTEXT_UNKNOWN
Context not foundCONTRACT_INACTIVE
Existing but inactive contractCONTRACT_NOT_IN_CONTEXT
IngestContract not present in the contextCONTRACT_NOT_IN_MANIFEST
Ingest constract not present in the Manifest.CONTRACT_UNKNOWN
Missing contract: not exists in the databaseFATAL
Fatal when getting referentialKO
Other error situationMANAGEMENT_CONTRACT_INACTIVE
Management Contract existing but inactiveMANAGEMENT_CONTRACT_INVALID
Management Contract invalidMANAGEMENT_CONTRACT_UNKNOWN
Management Contract not foundOK
OK contract
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CheckIngestContractActionHandler.CheckIngestContractStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CheckIngestContractActionHandler.CheckIngestContractStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTRACT_NOT_IN_MANIFEST
public static final CheckIngestContractActionHandler.CheckIngestContractStatus CONTRACT_NOT_IN_MANIFEST
Ingest constract not present in the Manifest.
-
CONTRACT_NOT_IN_CONTEXT
public static final CheckIngestContractActionHandler.CheckIngestContractStatus CONTRACT_NOT_IN_CONTEXT
IngestContract not present in the context
-
CONTEXT_UNKNOWN
public static final CheckIngestContractActionHandler.CheckIngestContractStatus CONTEXT_UNKNOWN
Context not found
-
CONTEXT_INACTIVE
public static final CheckIngestContractActionHandler.CheckIngestContractStatus CONTEXT_INACTIVE
Context inactive
-
CONTEXT_CHECK_ERROR
public static final CheckIngestContractActionHandler.CheckIngestContractStatus CONTEXT_CHECK_ERROR
Error when checking context
-
CONTRACT_UNKNOWN
public static final CheckIngestContractActionHandler.CheckIngestContractStatus CONTRACT_UNKNOWN
Missing contract: not exists in the database
-
CONTRACT_INACTIVE
public static final CheckIngestContractActionHandler.CheckIngestContractStatus CONTRACT_INACTIVE
Existing but inactive contract
-
MANAGEMENT_CONTRACT_UNKNOWN
public static final CheckIngestContractActionHandler.CheckIngestContractStatus MANAGEMENT_CONTRACT_UNKNOWN
Management Contract not found
-
MANAGEMENT_CONTRACT_INACTIVE
public static final CheckIngestContractActionHandler.CheckIngestContractStatus MANAGEMENT_CONTRACT_INACTIVE
Management Contract existing but inactive
-
MANAGEMENT_CONTRACT_INVALID
public static final CheckIngestContractActionHandler.CheckIngestContractStatus MANAGEMENT_CONTRACT_INVALID
Management Contract invalid
-
OK
public static final CheckIngestContractActionHandler.CheckIngestContractStatus OK
OK contract
-
KO
public static final CheckIngestContractActionHandler.CheckIngestContractStatus KO
Other error situation
-
FATAL
public static final CheckIngestContractActionHandler.CheckIngestContractStatus FATAL
Fatal when getting referential
-
-
Method Detail
-
values
public static CheckIngestContractActionHandler.CheckIngestContractStatus[] 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 (CheckIngestContractActionHandler.CheckIngestContractStatus c : CheckIngestContractActionHandler.CheckIngestContractStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CheckIngestContractActionHandler.CheckIngestContractStatus 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
-
-