Class NotificationDefinition

java.lang.Object
io.jmix.bpm.notification.NotificationDefinition

public class NotificationDefinition extends Object
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 Details

    • event

      protected @Nullable String event
    • recipientType

      protected @Nullable NotificationRecipientType recipientType
    • recipientExpression

      protected @Nullable String recipientExpression
    • channels

      protected List<String> channels
    • type

      protected @Nullable String type
    • contentType

      protected @Nullable String contentType
    • subject

      protected @Nullable String subject
    • body

      protected @Nullable String body
    • templateCode

      protected @Nullable String templateCode
  • Constructor Details

    • NotificationDefinition

      public NotificationDefinition()
  • Method Details

    • getEvent

      public @Nullable String getEvent()
    • setEvent

      public void setEvent(@Nullable String event)
    • getRecipientType

      public @Nullable NotificationRecipientType getRecipientType()
    • setRecipientType

      public void setRecipientType(@Nullable NotificationRecipientType recipientType)
    • getRecipientExpression

      public @Nullable String getRecipientExpression()
    • setRecipientExpression

      public void setRecipientExpression(@Nullable String recipientExpression)
    • getChannels

      public List<String> getChannels()
    • setChannels

      public void setChannels(List<String> channels)
    • getType

      public @Nullable String getType()
    • setType

      public void setType(@Nullable String type)
    • getContentType

      public @Nullable String getContentType()
    • setContentType

      public void setContentType(@Nullable String contentType)
    • getSubject

      public @Nullable String getSubject()
    • setSubject

      public void setSubject(@Nullable String subject)
    • getBody

      public @Nullable String getBody()
    • setBody

      public void setBody(@Nullable String body)
    • getTemplateCode

      public @Nullable String getTemplateCode()
    • setTemplateCode

      public void setTemplateCode(@Nullable String templateCode)