public class AuditEvent
extends java.lang.Object
Constructor and Description |
---|
AuditEvent() |
AuditEvent(AuditEvent parent) |
Modifier and Type | Method and Description |
---|---|
void |
actionFailed(java.lang.Throwable cause) |
void |
actionSucceed() |
void |
addActionMetadata(java.lang.String key,
java.lang.String value) |
void |
addActorMetadata(java.lang.String key,
java.lang.String value) |
void |
addObjectMetadata(java.lang.String key,
java.lang.String value) |
AuditEvent |
createChildEvent() |
java.lang.String |
getAction() |
java.util.Map<java.lang.String,java.lang.String> |
getActionMeta() |
java.lang.String |
getActor() |
java.util.Map<java.lang.String,java.lang.String> |
getActorMeta() |
java.lang.Throwable |
getFailure() |
java.lang.String |
getId() |
java.lang.String |
getObject() |
java.util.Map<java.lang.String,java.lang.String> |
getObjectMeta() |
AuditEvent |
getParent() |
java.lang.String |
getParentEventId() |
long |
getTimestamp() |
boolean |
isReadOnly() |
void |
readOnly() |
void |
readOnly(boolean readOnly) |
void |
setAction(java.lang.String action) |
void |
setActor(java.lang.String actor) |
void |
setObject(java.lang.String object) |
void |
setParentEventId(java.lang.String parentEventId) |
boolean |
succeed() |
public AuditEvent()
public AuditEvent(AuditEvent parent)
public long getTimestamp()
public java.lang.String getId()
public void setActor(java.lang.String actor)
public java.lang.String getActor()
public void setAction(java.lang.String action)
public java.lang.String getAction()
public void setObject(java.lang.String object)
public java.lang.String getObject()
public void readOnly(boolean readOnly)
public void readOnly()
public boolean isReadOnly()
public void addActorMetadata(java.lang.String key, java.lang.String value)
public void addObjectMetadata(java.lang.String key, java.lang.String value)
public void addActionMetadata(java.lang.String key, java.lang.String value)
public AuditEvent createChildEvent()
public AuditEvent getParent()
public void setParentEventId(java.lang.String parentEventId)
public java.lang.String getParentEventId()
public void actionSucceed()
public void actionFailed(java.lang.Throwable cause)
public java.lang.Throwable getFailure()
public boolean succeed()
public java.util.Map<java.lang.String,java.lang.String> getActorMeta()
public java.util.Map<java.lang.String,java.lang.String> getActionMeta()
public java.util.Map<java.lang.String,java.lang.String> getObjectMeta()
Copyright © 2021. All Rights Reserved.