Package io.jmix.bpm.notification
Class RenderedNotification
java.lang.Object
io.jmix.bpm.notification.RenderedNotification
Result of rendering a notification's subject and body for one recipient, together with the effective
content type (which, for a templated notification, comes from the template rather than the definition).
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRenderedNotification(String subject, @Nullable String body, @Nullable String contentType) -
Method Summary
-
Field Details
-
subject
-
body
-
contentType
-
-
Constructor Details
-
RenderedNotification
-
-
Method Details
-
getSubject
Returns the rendered subject.- Returns:
- the rendered subject
-
getBody
Returns the rendered body.- Returns:
- the rendered body, or
nullif there is none
-
getContentType
Returns the effective content type to send with.- Returns:
- the content type (e.g.
"html"/"plain"), ornullto use the default
-