@Immutable public class DefaultEmailType extends Object implements EmailType
| Constructor and Description |
|---|
DefaultEmailType(long id,
String eventName,
String templateName,
boolean html,
boolean text,
boolean batchedNotification,
boolean active) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getEventName() |
long |
getId() |
String |
getTemplateName() |
int |
hashCode() |
boolean |
isActive() |
boolean |
isBatchedNotification() |
boolean |
isHtml() |
boolean |
isText() |
static Optional<DefaultEmailType> |
of(TemplatesValidationConfig.TemplateInfo templateInfo,
boolean mailBatchingEnabled) |
String |
toString() |
public static Optional<DefaultEmailType> of(TemplatesValidationConfig.TemplateInfo templateInfo, boolean mailBatchingEnabled)
public String getEventName()
getEventName in interface EmailTypepublic String getTemplateName()
getTemplateName in interface EmailTypepublic boolean isBatchedNotification()
isBatchedNotification in interface EmailTypeCopyright © 2002-2022 Atlassian. All Rights Reserved.