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.HTMLcontent type for notification body.SetsContentType.PLAINcontent type for notification body.
-
Method Details
-
withContentType
Set notification body content type.- Parameters:
contentType- content type- Returns:
- builder
-
withPlainTextContentType
NotificationManager.NotificationRequestBuilder withPlainTextContentType()SetsContentType.PLAINcontent type for notification body.- Returns:
- builder
-
withHtmlContentType
NotificationManager.NotificationRequestBuilder withHtmlContentType()SetsContentType.HTMLcontent type for notification body.- Returns:
- builder
-