Package com.atlassian.jira.template
Class DefaultEmailType
java.lang.Object
com.atlassian.jira.template.DefaultEmailType
- All Implemented Interfaces:
EmailType
- Since:
- v8.14
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultEmailType
(long id, String eventName, String templateName, boolean html, boolean text, boolean batchedNotification, boolean active) -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
getId()
int
hashCode()
boolean
isActive()
boolean
boolean
isHtml()
boolean
isText()
static Optional<DefaultEmailType>
of
(TemplatesValidationConfig.TemplateInfo templateInfo, boolean mailBatchingEnabled) toString()
-
Constructor Details
-
DefaultEmailType
-
-
Method Details
-
of
public static Optional<DefaultEmailType> of(TemplatesValidationConfig.TemplateInfo templateInfo, boolean mailBatchingEnabled) -
getId
public long getId() -
getEventName
- Specified by:
getEventName
in interfaceEmailType
-
getTemplateName
- Specified by:
getTemplateName
in interfaceEmailType
-
isHtml
public boolean isHtml() -
isText
public boolean isText() -
isBatchedNotification
public boolean isBatchedNotification()- Specified by:
isBatchedNotification
in interfaceEmailType
-
isActive
public boolean isActive() -
equals
-
hashCode
public int hashCode() -
toString
-