public class AuditLogEvent extends Object implements Serializable
AuditLogEvent
class represents the class for an audit event.Modifier and Type | Field and Description |
---|---|
static String |
AUDIT_EVENT_PROPERTY
The event property holding the
AuditLogEntry . |
static String |
JOB_TOPIC
The job topic for adding an entry to the audit log.
|
Constructor and Description |
---|
AuditLogEvent(List<AuditLogEntry> entries)
Create a new audit log event.
|
Modifier and Type | Method and Description |
---|---|
org.osgi.service.event.Event |
createJobEvent()
Deprecated.
The method to create job event like this has been deprecated with 6.1.
Jobs can be directly created using org.apache.sling.event.jobs.JobManager
service with the method #addJob(String jobTopic, Map
|
org.osgi.service.event.Event |
createJobEvent(String id)
Deprecated.
The method to create job event like this has been deprecated with 6.1.
Jobs can be directly created using org.apache.sling.event.jobs.JobManager
service with the method #addJob(String jobTopic, Map
|
Iterator<AuditLogEntry> |
getEntries()
Get the list of entries.
|
public static final String JOB_TOPIC
public static final String AUDIT_EVENT_PROPERTY
AuditLogEntry
.public AuditLogEvent(List<AuditLogEntry> entries)
entries
- The list of audit log entries.public Iterator<AuditLogEntry> getEntries()
public org.osgi.service.event.Event createJobEvent()
public org.osgi.service.event.Event createJobEvent(String id)
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"