Class Message.Builder
java.lang.Object
org.apache.fineract.infrastructure.gcm.domain.Message.Builder
- Enclosing class:
Message
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds a key/value pair to the payload data.build()collapseKey(String value) Sets the collapseKey property.contentAvailable(Boolean value) Sets the contentAvailable propertydelayWhileIdle(boolean value) Sets the delayWhileIdle property (default value is false).dryRun(boolean value) Sets the dryRun property (default value is false).notification(Notification value) Sets the notification property.priority(Message.Priority value) Sets the priority property.restrictedPackageName(String value) Sets the restrictedPackageName property.timeToLive(int value) Sets the time to live, in seconds.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
collapseKey
Sets the collapseKey property. -
delayWhileIdle
Sets the delayWhileIdle property (default value is false). -
timeToLive
Sets the time to live, in seconds. -
addData
Adds a key/value pair to the payload data. -
dryRun
Sets the dryRun property (default value is false). -
restrictedPackageName
Sets the restrictedPackageName property. -
priority
Sets the priority property. -
notification
Sets the notification property. -
contentAvailable
Sets the contentAvailable property -
build
-