Class StandardNotificationBuilder
java.lang.Object
dev.getelements.elements.service.notification.StandardNotificationBuilder
- All Implemented Interfaces:
dev.getelements.elements.sdk.service.notification.NotificationBuilder,dev.getelements.elements.sdk.service.notification.NotificationParameters
public class StandardNotificationBuilder
extends Object
implements dev.getelements.elements.sdk.service.notification.NotificationBuilder, dev.getelements.elements.sdk.service.notification.NotificationParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondev.getelements.elements.sdk.service.notification.NotificationBuilderdev.getelements.elements.sdk.service.notification.NotificationBuilderdev.getelements.elements.sdk.service.notification.NotificationBuilderapplication(dev.getelements.elements.sdk.model.application.Application application) dev.getelements.elements.sdk.service.notification.Notificationbuild()dev.getelements.elements.sdk.model.application.ApplicationFunction<dev.getelements.elements.sdk.service.notification.NotificationParameters, dev.getelements.elements.sdk.service.notification.Notification> dev.getelements.elements.sdk.model.profile.ProfilegetSound()getTitle()dev.getelements.elements.sdk.service.notification.NotificationBuilderdev.getelements.elements.sdk.service.notification.NotificationBuilderrecipient(dev.getelements.elements.sdk.model.profile.Profile recipient) voidsetNotificationFactory(dev.getelements.elements.sdk.service.notification.NotificationFactory notificationFactory) dev.getelements.elements.sdk.service.notification.NotificationBuilderdev.getelements.elements.sdk.service.notification.NotificationBuildertoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.getelements.elements.sdk.service.notification.NotificationBuilder
sender, sound
-
Constructor Details
-
StandardNotificationBuilder
public StandardNotificationBuilder()
-
-
Method Details
-
application
public dev.getelements.elements.sdk.service.notification.NotificationBuilder application(dev.getelements.elements.sdk.model.application.Application application) - Specified by:
applicationin interfacedev.getelements.elements.sdk.service.notification.NotificationBuilder
-
recipient
public dev.getelements.elements.sdk.service.notification.NotificationBuilder recipient(dev.getelements.elements.sdk.model.profile.Profile recipient) - Specified by:
recipientin interfacedev.getelements.elements.sdk.service.notification.NotificationBuilder
-
title
- Specified by:
titlein interfacedev.getelements.elements.sdk.service.notification.NotificationBuilder
-
message
public dev.getelements.elements.sdk.service.notification.NotificationBuilder message(String message) - Specified by:
messagein interfacedev.getelements.elements.sdk.service.notification.NotificationBuilder
-
sound
- Specified by:
soundin interfacedev.getelements.elements.sdk.service.notification.NotificationBuilder
-
add
public dev.getelements.elements.sdk.service.notification.NotificationBuilder add(@Nonnull String key, @Nonnull String value) - Specified by:
addin interfacedev.getelements.elements.sdk.service.notification.NotificationBuilder
-
addAll
public dev.getelements.elements.sdk.service.notification.NotificationBuilder addAll(Map<String, String> allData) - Specified by:
addAllin interfacedev.getelements.elements.sdk.service.notification.NotificationBuilder
-
getRecipient
public dev.getelements.elements.sdk.model.profile.Profile getRecipient()- Specified by:
getRecipientin interfacedev.getelements.elements.sdk.service.notification.NotificationParameters
-
getApplication
public dev.getelements.elements.sdk.model.application.Application getApplication()- Specified by:
getApplicationin interfacedev.getelements.elements.sdk.service.notification.NotificationParameters
-
getTitle
- Specified by:
getTitlein interfacedev.getelements.elements.sdk.service.notification.NotificationParameters
-
getMessage
- Specified by:
getMessagein interfacedev.getelements.elements.sdk.service.notification.NotificationParameters
-
getSound
- Specified by:
getSoundin interfacedev.getelements.elements.sdk.service.notification.NotificationParameters
-
getExtraProperties
- Specified by:
getExtraPropertiesin interfacedev.getelements.elements.sdk.service.notification.NotificationParameters
-
build
public dev.getelements.elements.sdk.service.notification.Notification build()- Specified by:
buildin interfacedev.getelements.elements.sdk.service.notification.NotificationBuilder
-
getNotificationFactory
public Function<dev.getelements.elements.sdk.service.notification.NotificationParameters,dev.getelements.elements.sdk.service.notification.Notification> getNotificationFactory() -
setNotificationFactory
@Inject public void setNotificationFactory(dev.getelements.elements.sdk.service.notification.NotificationFactory notificationFactory) -
toString
-