public class NotificationMessage extends Object
| Constructor and Description |
|---|
NotificationMessage()
default constructor.
|
NotificationMessage(String subscriptionId,
String topic,
String resourceId,
String body)
constructor with full parameters.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBody() |
String |
getResourceId() |
String |
getSubscriptionId() |
String |
getTopic() |
void |
setBody(String body) |
void |
setResourceId(String resourceId) |
void |
setSubscriptionId(String subscriptionId) |
void |
setTopic(String topic) |
public NotificationMessage()
public NotificationMessage(String subscriptionId, String topic, String resourceId, String body)
subscriptionId - subscription identifiertopic - produced topicresourceId - resource identifier of the resource which triggered the notification, or nullbody - body of the document which triggered the notification, or nullpublic String getSubscriptionId()
public void setSubscriptionId(String subscriptionId)
public String getTopic()
public void setTopic(String topic)
public String getResourceId()
public void setResourceId(String resourceId)
public String getBody()
public void setBody(String body)
Copyright © 2017. All rights reserved.