public class Subscription extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
URI |
static org.springframework.web.util.UriTemplate |
URI_TEMPLATE |
| Constructor and Description |
|---|
Subscription(List<Trigger> triggers,
List<Channel> channels,
TriggerCondition condition,
MessageTemplate template,
String title)
Creates Subscription
|
| Modifier and Type | Method and Description |
|---|---|
TriggerCondition |
getCondition() |
List<String> |
getChannels() |
Meta |
getMeta() |
MessageTemplate |
getTemplate() |
List<Trigger> |
getTriggers() |
String |
toString() |
public static final String URI
public static final org.springframework.web.util.UriTemplate URI_TEMPLATE
public Subscription(List<Trigger> triggers, List<Channel> channels, TriggerCondition condition, MessageTemplate template, String title)
triggers - triggers of subscriptionchannels - list of Channelcondition - condition under which this subscription activatestemplate - of messagetitle - name of subscriptionpublic TriggerCondition getCondition()
public MessageTemplate getTemplate()
public Meta getMeta()
Copyright © 2017. All rights reserved.