Package com.day.cq.notification.api
Interface ChannelProvider
-
public interface ChannelProvider
ChannelProvider
...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Channel
getChannel(ChannelConfig channelConfig)
Retrieves the channel defined in the givenChannelConfig
java.util.List<Channel>
getChannels()
Retrieves all channels currently registered within the system.java.util.List<Channel>
getChannels(Subscription subscription)
Retrieves the channels defined within aSubscription
.
-
-
-
Method Detail
-
getChannels
java.util.List<Channel> getChannels()
Retrieves all channels currently registered within the system.- Returns:
- A
List
of channels.
-
getChannels
java.util.List<Channel> getChannels(Subscription subscription)
Retrieves the channels defined within aSubscription
.- Parameters:
subscription
- The subscription for which to get the channels.- Returns:
- A
List
of channels.
-
getChannel
Channel getChannel(ChannelConfig channelConfig)
Retrieves the channel defined in the givenChannelConfig
- Parameters:
channelConfig
- The channel configuration for which to the the channel- Returns:
- A channel.
-
-