Enum Class AuditType

java.lang.Object
java.lang.Enum<AuditType>
fr.gouv.vitam.common.model.AuditType
All Implemented Interfaces:
Serializable, Comparable<AuditType>, Constable

public enum AuditType extends Enum<AuditType>
  • Enum Constant Details

    • AUDIT_FILE_EXISTING

      public static final AuditType AUDIT_FILE_EXISTING
    • AUDIT_FILE_INTEGRITY

      public static final AuditType AUDIT_FILE_INTEGRITY
    • EVIDENCE_AUDIT

      public static final AuditType EVIDENCE_AUDIT
    • RECTIFICATION_AUDIT

      public static final AuditType RECTIFICATION_AUDIT
    • TRACEABILITY_CHAIN_AUDIT_UNIT

      public static final AuditType TRACEABILITY_CHAIN_AUDIT_UNIT
    • TRACEABILITY_CHAIN_AUDIT_OBJECT_GROUP

      public static final AuditType TRACEABILITY_CHAIN_AUDIT_OBJECT_GROUP
    • TRACEABILITY_CHAIN_AUDIT_LOGBOOK_OPERATION

      public static final AuditType TRACEABILITY_CHAIN_AUDIT_LOGBOOK_OPERATION
  • Method Details

    • values

      public static AuditType[] 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

      public static AuditType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • fromProcessAuditAction

      public static Optional<AuditType> fromProcessAuditAction(String auditAction)
      Resolves the audit action of a PROCESS_AUDIT launch request into an audit type.
    • fromTraceabilityType

      public static AuditType fromTraceabilityType(TraceabilityType traceabilityType)
      Maps an audited traceability chain to the corresponding chaining audit.