Class Notification.NotificationBuilder<C extends Notification,B extends Notification.NotificationBuilder<C,B>>
java.lang.Object
com.totvs.tjf.communication.sdk.messages.AbstractMessage.AbstractMessageBuilder<C,B>
com.totvs.tjf.communication.sdk.messages.AbstractMessageWithAttachment.AbstractMessageWithAttachmentBuilder<C,B>
com.totvs.tjf.communication.sdk.messages.Notification.NotificationBuilder<C,B>
- Enclosing class:
Notification
public abstract static class Notification.NotificationBuilder<C extends Notification,B extends Notification.NotificationBuilder<C,B>>
extends AbstractMessageWithAttachment.AbstractMessageWithAttachmentBuilder<C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract C
build()
notificationIconIdentifier
(String notificationIconIdentifier) protected abstract B
self()
targetApplicationId
(String targetApplicationId) targetApplicationName
(String targetApplicationName) toString()
type
(NotificationType type) Methods inherited from class com.totvs.tjf.communication.sdk.messages.AbstractMessageWithAttachment.AbstractMessageWithAttachmentBuilder
attachment, attachments
Methods inherited from class com.totvs.tjf.communication.sdk.messages.AbstractMessage.AbstractMessageBuilder
applicationId, content, date, fallback, id, param, param, params, templateId, tenantId
-
Constructor Details
-
NotificationBuilder
public NotificationBuilder()
-
-
Method Details
-
type
- Returns:
this
.
-
subject
- Returns:
this
.
-
recipient
- Returns:
this
.
-
sender
- Returns:
this
.
-
linkUrl
- Returns:
this
.
-
title
- Returns:
this
.
-
category
- Returns:
this
.
-
targetApplicationId
- Returns:
this
.
-
targetApplicationName
- Returns:
this
.
-
priority
- Returns:
this
.
-
notificationIconIdentifier
- Returns:
this
.
-
self
- Specified by:
self
in classAbstractMessageWithAttachment.AbstractMessageWithAttachmentBuilder<C extends Notification,
B extends Notification.NotificationBuilder<C, B>>
-
build
- Specified by:
build
in classAbstractMessageWithAttachment.AbstractMessageWithAttachmentBuilder<C extends Notification,
B extends Notification.NotificationBuilder<C, B>>
-
toString
- Overrides:
toString
in classAbstractMessageWithAttachment.AbstractMessageWithAttachmentBuilder<C extends Notification,
B extends Notification.NotificationBuilder<C, B>>
-