Package io.jmix.notifications
Interface NotificationManager.InputContentType
- All Known Subinterfaces:
NotificationManager.InputOptionals
,NotificationManager.NotificationRequestBuilder
- All Known Implementing Classes:
NotificationManagerImpl.NotificationRequestBuilderImpl
- Enclosing interface:
- NotificationManager
public static interface NotificationManager.InputContentType
-
Method Summary
Modifier and TypeMethodDescriptionwithContentType
(ContentType contentType) Set notification body content type.SetsContentType.HTML
content type for notification body.SetsContentType.PLAIN
content type for notification body.
-
Method Details
-
withContentType
Set notification body content type.- Parameters:
contentType
- content type- Returns:
- builder
-
withPlainTextContentType
NotificationManager.NotificationRequestBuilder withPlainTextContentType()SetsContentType.PLAIN
content type for notification body.- Returns:
- builder
-
withHtmlContentType
NotificationManager.NotificationRequestBuilder withHtmlContentType()SetsContentType.HTML
content type for notification body.- Returns:
- builder
-