public class EventMessageContent extends Object
Constructor and Description |
---|
EventMessageContent() |
Modifier and Type | Method and Description |
---|---|
String |
getMessageBody()
returns a readable format of message body
|
String |
getMessageSubject()
returns a readable format of message subject
|
void |
prepareMessage(String hostName,
event_audit_log_subscriber eventData,
boolean isBodyHtml)
Produces a readable message subject and body based on provided parameters
The format of the subject and body are defined by MessageHelper |
public String getMessageBody()
public String getMessageSubject()
public void prepareMessage(String hostName, event_audit_log_subscriber eventData, boolean isBodyHtml)
hostName
- the host name on which the subject will refer toeventData
- associated entry which the message will be created byisBodyHtml
- defines the format of message bodyCopyright © 2012. All Rights Reserved.