public class TopicConfiguration extends AbstractNotification
AbstractNotification.Filter
events, 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, setId
getRequestId, getResponseHeaders, getStatusCode
public 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 HeaderResponse
Copyright © 2021. All rights reserved.