public class TopicConfiguration extends AbstractNotification
AbstractNotification.Filterevents, filter, id| Constructor and Description |
|---|
TopicConfiguration() |
TopicConfiguration(String id,
AbstractNotification.Filter filter,
String topic,
List<EventTypeEnum> events)
构造函数
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTopic()
获取事件通知主题的URN
|
void |
setTopic(String topic)
设置事件通知主题的URN
|
String |
toString() |
getEvents, getEventTypes, getFilter, getId, setEvents, setEventTypes, setFilter, setIdgetOriginalHeaders, getRequestId, getResponseHeaders, getStatusCodepublic TopicConfiguration()
public TopicConfiguration(String id, AbstractNotification.Filter filter, String topic, List<EventTypeEnum> events)
id - 事件通知配置IDfilter - 过滤规则组topic - 事件通知主题的URNevents - 需要发布通知消息的事件类型列表public String getTopic()
public void setTopic(String topic)
topic - 事件通知主题的URNpublic String toString()
toString in class HeaderResponseCopyright © 2021. All rights reserved.