Enum Class AuditEventStage

java.lang.Object
java.lang.Enum<AuditEventStage>
com.evolveum.midpoint.audit.api.AuditEventStage
All Implemented Interfaces:
Serializable, Comparable<AuditEventStage>, Constable

public enum AuditEventStage extends Enum<AuditEventStage>
Enumeration that helps distinguish phase when and where audit record was created. AuditEventStageType.REQUEST and AuditEventStageType.EXECUTION represent events that happened in midPoint on model layer. AuditEventStageType.RESOURCE represent events that were processed on provisioning layer.
  • Enum Constant Details

    • REQUEST

      public static final AuditEventStage REQUEST
      Audit records that represent changes initiated by user.
    • EXECUTION

      public static final AuditEventStage EXECUTION
      Audit records that represent changes computed by midPoint on model layer.
    • RESOURCE

      public static final AuditEventStage RESOURCE
      Stage that contains events that were recorded on provisioning level. Both before and after something happened in provisioning, e.g. when auditing operations executed through provisioning on managed resource as well as getting changes through live synchronization process (will be implemented a bit later).
  • Method Details

    • values

      public static AuditEventStage[] 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 AuditEventStage 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
    • fromSchemaValue

      public static AuditEventStage fromSchemaValue(AuditEventStageType stage)
    • toSchemaValue

      public static AuditEventStageType toSchemaValue(AuditEventStage stage)