public class AuditMessageObject extends Object
| Constructor and Description |
|---|
AuditMessageObject() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMessage(Object message)
add autdit information to this object
|
String |
getEvent() |
List<Object> |
getMessages()
This will provide any objects holding audit information, the list cannot
be modified.
|
String |
getMessagesAsString()
This will provide a string representation of the objects holding audit
information, the list cannot be modified.
|
String |
getUsername()
get the username for this audit trail.
|
void |
setEvent(String event)
Set the event (class#method) for this AuditMessageObject.
|
void |
setUsername(String username)
Set the username for this audit trail.
|
String |
toString() |
public String getEvent()
public void setEvent(String event)
event - describes eventpublic String getUsername()
public void setUsername(String username)
username - the username for this audit trailpublic void addMessage(Object message)
message - audit informationpublic List<Object> getMessages()
public String getMessagesAsString()
Copyright © 2020. All rights reserved.