Enum Class AuditLogEventType

java.lang.Object
java.lang.Enum<AuditLogEventType>
com.atlassian.crowd.audit.AuditLogEventType
All Implemented Interfaces:
Serializable, Comparable<AuditLogEventType>, Constable

public enum AuditLogEventType extends Enum<AuditLogEventType>
Describes the possible auditable event types. Historically the types were rather generic, with the entity describing the target and the event describing the action that happened to it. Since Crowd 3.2.0 however the actions are verbose and cover both the target object and what happened to it. Sample shapes of events are defined here, while Crowd will adhere to the specified contract, plugins can create events with the same event types but different combinations of entities, so care must be taken when processing event data.
  • Enum Constant Details

    • CREATED

      @Deprecated public static final AuditLogEventType CREATED
      Deprecated.
      This event type has been deprecated in favor of more specific event types (such as USER_CREATED). Please use a more specific event type or OTHER if none apply to your event.
      Indicates that a new entity was created during the auditable action
    • MODIFIED

      @Deprecated public static final AuditLogEventType MODIFIED
      Deprecated.
      This event type has been deprecated in favor of more specific event types (such as USER_CREATED). Please use a more specific event type or OTHER if none apply to your event.
      Indicates that an entity was modified during the auditable action
    • DELETED

      @Deprecated public static final AuditLogEventType DELETED
      Deprecated.
      This event type has been deprecated in favor of more specific event types (such as USER_CREATED). Please use a more specific event type or OTHER if none apply to your event.
      Indicates that an entity was deleted during the auditable action
    • STARTED

      @Deprecated public static final AuditLogEventType STARTED
      Deprecated.
      This event type has been deprecated in favor of more specific event types (such as USER_CREATED). Please use a more specific event type or OTHER if none apply to your event.
      Indicates a start of a long running process or task
    • COMPLETED

      @Deprecated public static final AuditLogEventType COMPLETED
      Deprecated.
      This event type has been deprecated in favor of more specific event types (such as USER_CREATED). Please use a more specific event type or OTHER if none apply to your event.
      Indicates a successful completion of a long running process or task
    • FAILED

      @Deprecated public static final AuditLogEventType FAILED
      Deprecated.
      This event type has been deprecated in favor of more specific event types (such as USER_CREATED). Please use a more specific event type or OTHER if none apply to your event.
      Indicates a failure of a long running process or task
    • OTHER

      public static final AuditLogEventType OTHER
      Indicates that the auditable action was none of the above
    • APPLICATION_CREATED

      public static final AuditLogEventType APPLICATION_CREATED
      Indicates the creation of a new application.
    • APPLICATION_UPDATED

      public static final AuditLogEventType APPLICATION_UPDATED
      Indicates the that an application's configuration was changed.
    • APPLICATION_DELETED

      public static final AuditLogEventType APPLICATION_DELETED
      Indicates that an application was removed.
    • DIRECTORY_CREATED

      public static final AuditLogEventType DIRECTORY_CREATED
      Indicates the creation of a new directory.
    • DIRECTORY_UPDATED

      public static final AuditLogEventType DIRECTORY_UPDATED
      Indicates the that a directory's configuration was changed.
    • DIRECTORY_DELETED

      public static final AuditLogEventType DIRECTORY_DELETED
      Indicates that a directory was removed.
    • CONFIGURATION_MODIFIED

      public static final AuditLogEventType CONFIGURATION_MODIFIED
      Indicates that Crowd's configuration has been modified.
    • BACKUP_STARTED

      public static final AuditLogEventType BACKUP_STARTED
      Indicates that backup of Crowd to a file has been started.
    • BACKUP_FINISHED

      public static final AuditLogEventType BACKUP_FINISHED
      Indicates that backup of Crowd to a file has been finished.
    • RESTORE_STARTED

      public static final AuditLogEventType RESTORE_STARTED
      Indicates that restoring Crowd from a backup file has been started.
    • RESTORE_FINISHED

      public static final AuditLogEventType RESTORE_FINISHED
      Indicates that restoring Crowd from a backup file has been finished.
    • USER_CREATED

      public static final AuditLogEventType USER_CREATED
      Indicates the creation of a new user.
    • USER_UPDATED

      public static final AuditLogEventType USER_UPDATED
      Indicates that user data was changed.
    • USER_DELETED

      public static final AuditLogEventType USER_DELETED
      Indicates that a user was removed.
    • GROUP_CREATED

      public static final AuditLogEventType GROUP_CREATED
      Indicates the creation of a new group.
    • GROUP_UPDATED

      public static final AuditLogEventType GROUP_UPDATED
      Indicates that group data was changed. Membership changes are not covered by this event type.
    • GROUP_DELETED

      public static final AuditLogEventType GROUP_DELETED
      Indicates that a group was removed.
    • ADDED_TO_GROUP

      public static final AuditLogEventType ADDED_TO_GROUP
      Indicates that a user or a group (child) has joined a group (parent). The child entity is annotated as the primary entity in this event.
    • REMOVED_FROM_GROUP

      public static final AuditLogEventType REMOVED_FROM_GROUP
      Indicates that a user or a group (child) has left a group (parent). The child entity is annotated as the primary entity in this event.
    • ALIAS_CREATED

      public static final AuditLogEventType ALIAS_CREATED
      Indicates that an alias was created for a given user. The participating entities are the user, for whom the alias was created, and the application, in which the given alias is effective.
    • ALIAS_UPDATED

      public static final AuditLogEventType ALIAS_UPDATED
      Indicates that an existing alias was changed for a given user. The participating entities are the user, for whom the alias was updated, and the application, in which the given alias is effective.
    • ALIAS_DELETED

      public static final AuditLogEventType ALIAS_DELETED
      Indicates that an alias was deleted for a given user. The participating entities are the user, for whom the alias was deleter, and the application, in which the given alias is effective.
    • SYNCHRONIZATION_STARTED

      public static final AuditLogEventType SYNCHRONIZATION_STARTED
      Indicates that a synchronization has been started. The synchronized directory is the entity and the author will either be empty (if the synchronization was scheduled) or will contain the user who triggered the synchronization.
    • SYNCHRONIZATION_FINISHED

      public static final AuditLogEventType SYNCHRONIZATION_FINISHED
      Indicates that a synchronization has been finished. The synchronized directory is the entity and the author will either be empty (if the synchronization was scheduled) or will contain the user who triggered the synchronization.
    • IMPORT_STARTED

      public static final AuditLogEventType IMPORT_STARTED
      Indicates that a directory import has been started. The target directory is the entity and the author will contain the user who started the import.
    • IMPORT_FINISHED

      public static final AuditLogEventType IMPORT_FINISHED
      Indicates that a directory import has been finished. The target directory is the entity and the author will contain the user who started the import.
    • PASSWORD_RESET_STARTED

      public static final AuditLogEventType PASSWORD_RESET_STARTED
      Indicates that a password reset flow has been initiated. The entity is the user for whom the reset was requested and the author is the user who requested the reset.
    • PASSWORD_RESET_FINISHED

      public static final AuditLogEventType PASSWORD_RESET_FINISHED
      Indicates that a password reset flow has been finished. The entity is the user for whom the reset was requested and the author is the user who requested the reset.
    • PASSWORD_CHANGED

      public static final AuditLogEventType PASSWORD_CHANGED
      Indicates that password was successfully changed for a user. The entity is the user for whom the password was changed, and the author is the user who changed it.
    • GROUP_ADMIN_ASSIGNED

      public static final AuditLogEventType GROUP_ADMIN_ASSIGNED
      Indicates that either a group or a user have been assigned as administrators of some other group.
      Since:
      3.3.0
    • GROUP_ADMIN_REVOKED

      public static final AuditLogEventType GROUP_ADMIN_REVOKED
      Indicates that either a group or a user have been revoked administration access to some other group.
      Since:
      3.3.0
  • Method Details

    • values

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