@AsynchronousPreferred public class

AuditEvent

extends ApplicationEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.bitbucket.event.ApplicationEvent
       ↳ com.atlassian.bitbucket.event.audit.AuditEvent
Known Direct Subclasses

Class Overview

Represents an AuditEvent derived from an Audited annotated event

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
AuditEvent(Object source, AuditEntry entry, Set<String> channels, Priority priority)
Public Methods
@Nonnull Set<String> getChannels()
@Nonnull AuditEntry getEntry()
@Nonnull Priority getPriority()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.event.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public AuditEvent (Object source, AuditEntry entry, Set<String> channels, Priority priority)

Public Methods

@Nonnull public Set<String> getChannels ()

Returns
  • the channels which the original annotated event indicated would be interested in auditing the original event

@Nonnull public AuditEntry getEntry ()

Returns
  • the details of the original event in a standard audit format

@Nonnull public Priority getPriority ()

Returns
  • the priority of the event