Package com.atlassian.crowd.audit
Enum Class AuditLogEventType
- All Implemented Interfaces:
Serializable
,Comparable<AuditLogEventType>
,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that a user or a group (child) has joined a group (parent).Indicates that an alias was created for a given user.Indicates that an alias was deleted for a given user.Indicates that an existing alias was changed for a given user.Indicates the creation of a new application.Indicates that an application was removed.Indicates the that an application's configuration was changed.Indicates that backup of Crowd to a file has been finished.Indicates that backup of Crowd to a file has been started.Deprecated.This event type has been deprecated in favor of more specific event types (such as USER_CREATED).Indicates that Crowd's configuration has been modified.Deprecated.This event type has been deprecated in favor of more specific event types (such as USER_CREATED).Deprecated.This event type has been deprecated in favor of more specific event types (such as USER_CREATED).Indicates the creation of a new directory.Indicates that a directory was removed.Indicates the that a directory's configuration was changed.Deprecated.This event type has been deprecated in favor of more specific event types (such as USER_CREATED).Indicates that either a group or a user have been assigned as administrators of some other group.Indicates that either a group or a user have been revoked administration access to some other group.Indicates the creation of a new group.Indicates that a group was removed.Indicates that group data was changed.Indicates that a directory import has been finished.Indicates that a directory import has been started.Deprecated.This event type has been deprecated in favor of more specific event types (such as USER_CREATED).Indicates that the auditable action was none of the aboveIndicates that password was successfully changed for a user.Indicates that a password reset flow has been finished.Indicates that a password reset flow has been initiated.Indicates that a user or a group (child) has left a group (parent).Indicates that restoring Crowd from a backup file has been finished.Indicates that restoring Crowd from a backup file has been started.Deprecated.This event type has been deprecated in favor of more specific event types (such as USER_CREATED).Indicates that a synchronization has been finished.Indicates that a synchronization has been started.Indicates the creation of a new user.Indicates that a user was removed.Indicates that user data was changed. -
Method Summary
Modifier and TypeMethodDescriptionstatic AuditLogEventType
Returns the enum constant of this class with the specified name.static AuditLogEventType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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 orOTHER
if none apply to your event.Indicates that a new entity was created during the auditable action -
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 orOTHER
if none apply to your event.Indicates that an entity was modified during the auditable action -
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 orOTHER
if none apply to your event.Indicates that an entity was deleted during the auditable action -
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 orOTHER
if none apply to your event.Indicates a start of a long running process or task -
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 orOTHER
if none apply to your event.Indicates a successful completion of a long running process or task -
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 orOTHER
if none apply to your event.Indicates a failure of a long running process or task -
OTHER
Indicates that the auditable action was none of the above -
APPLICATION_CREATED
Indicates the creation of a new application. -
APPLICATION_UPDATED
Indicates the that an application's configuration was changed. -
APPLICATION_DELETED
Indicates that an application was removed. -
DIRECTORY_CREATED
Indicates the creation of a new directory. -
DIRECTORY_UPDATED
Indicates the that a directory's configuration was changed. -
DIRECTORY_DELETED
Indicates that a directory was removed. -
CONFIGURATION_MODIFIED
Indicates that Crowd's configuration has been modified. -
BACKUP_STARTED
Indicates that backup of Crowd to a file has been started. -
BACKUP_FINISHED
Indicates that backup of Crowd to a file has been finished. -
RESTORE_STARTED
Indicates that restoring Crowd from a backup file has been started. -
RESTORE_FINISHED
Indicates that restoring Crowd from a backup file has been finished. -
USER_CREATED
Indicates the creation of a new user. -
USER_UPDATED
Indicates that user data was changed. -
USER_DELETED
Indicates that a user was removed. -
GROUP_CREATED
Indicates the creation of a new group. -
GROUP_UPDATED
Indicates that group data was changed. Membership changes are not covered by this event type. -
GROUP_DELETED
Indicates that a group was removed. -
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
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
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
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
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
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
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
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
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
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
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
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
Indicates that either a group or a user have been assigned as administrators of some other group.- Since:
- 3.3.0
-
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
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
-