AuditResource
s on AuditEvent
s should be used
instead.@Deprecated public class Channels extends Object
Audited.channels()
have been replaced in 7.0 by specifying AuditResource
s on an
AuditEvent
directly (via Auditable
). A Project
or a repository
is able to
be represented by an AuditResource
, offering similar behaviour to adding an event to the PROJECT_UI
or REPOSITORY_UI
channels.
When processing events to be Audited
, any Channels
specified in the annotation will be converted by
the system into project
or repository
AuditResource
s, if an
AuditEntryConverter
type converter is used, and the project
and/or repository
is
supplied on the generated AuditEntry
. Channels
will otherwise be ignored (i.e. specifying channels
when using an AuditEventConverter
type converter will have no effect).
It is recommended the consumers use Auditable
instead of Audited
and specify AuditResource
s
directly as support for Audited
and Channels
will be removed in 8.0.
Audited
Modifier and Type | Field and Description |
---|---|
static String |
PROJECT_UI
Deprecated.
Used to notify listeners that the event should be displayed in the audit UI for a project.
|
static String |
REPOSITORY_UI
Deprecated.
Used to notify listeners that the event should be displayed in the audit UI for a repository.
|
public static final String PROJECT_UI
public static final String REPOSITORY_UI
Copyright © 2022 Atlassian. All rights reserved.