Package io.jmix.bpm.notification
Class NotificationDefinition
java.lang.Object
io.jmix.bpm.notification.NotificationDefinition
Runtime model of a single notification declared on a BPMN element, parsed from the
<jmix:notification> extension element. Subject and body hold inline templates
(Flowable expressions); templateCode, when set, points to a reusable message template.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetBody()@Nullable String@Nullable StringgetEvent()@Nullable String@Nullable NotificationRecipientType@Nullable String@Nullable String@Nullable StringgetType()voidvoidsetChannels(List<String> channels) voidsetContentType(@Nullable String contentType) voidvoidsetRecipientExpression(@Nullable String recipientExpression) voidsetRecipientType(@Nullable NotificationRecipientType recipientType) voidsetSubject(@Nullable String subject) voidsetTemplateCode(@Nullable String templateCode) void
-
Field Details
-
event
-
recipientType
-
recipientExpression
-
channels
-
type
-
contentType
-
subject
-
body
-
templateCode
-
-
Constructor Details
-
NotificationDefinition
public NotificationDefinition()
-
-
Method Details
-
getEvent
-
setEvent
-
getRecipientType
-
setRecipientType
-
getRecipientExpression
-
setRecipientExpression
-
getChannels
-
setChannels
-
getType
-
setType
-
getContentType
-
setContentType
-
getSubject
-
setSubject
-
getBody
-
setBody
-
getTemplateCode
-
setTemplateCode
-