public class AuditApplicationEvent extends ApplicationEvent
ApplicationEvent
to encapsulate AuditEvent
s.source
Constructor and Description |
---|
AuditApplicationEvent(AuditEvent auditEvent)
Create a new
AuditApplicationEvent that wraps the specified
AuditEvent . |
AuditApplicationEvent(Date timestamp,
String principal,
String type,
Map<String,Object> data)
Create a new
AuditApplicationEvent that wraps a newly created
AuditEvent . |
AuditApplicationEvent(String principal,
String type,
Map<String,Object> data)
Create a new
AuditApplicationEvent that wraps a newly created
AuditEvent . |
AuditApplicationEvent(String principal,
String type,
String... data)
Create a new
AuditApplicationEvent that wraps a newly created
AuditEvent . |
Modifier and Type | Method and Description |
---|---|
AuditEvent |
getAuditEvent() |
getTimestamp
getSource, toString
public AuditApplicationEvent(String principal, String type, Map<String,Object> data)
AuditApplicationEvent
that wraps a newly created
AuditEvent
.public AuditApplicationEvent(String principal, String type, String... data)
AuditApplicationEvent
that wraps a newly created
AuditEvent
.public AuditApplicationEvent(Date timestamp, String principal, String type, Map<String,Object> data)
AuditApplicationEvent
that wraps a newly created
AuditEvent
.public AuditApplicationEvent(AuditEvent auditEvent)
AuditApplicationEvent
that wraps the specified
AuditEvent
.auditEvent
- the source of this eventpublic AuditEvent getAuditEvent()
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.