public class EmailEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EmailEvent.Priority |
Constructor and Description |
---|
EmailEvent(String subject,
String message,
EmailEvent.Priority priority)
Create a new EmailEvent to be sent
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
EmailEvent.Priority |
getPriority() |
String |
getSubject() |
public EmailEvent(String subject, String message, EmailEvent.Priority priority)
subject
- The subject for the eventmessage
- The messagepriority
- The priority of the messagepublic String getMessage()
public EmailEvent.Priority getPriority()
public String getSubject()
Copyright © 2016. All rights reserved.