Package com.day.cq.notification.api
Interface ChannelProvider
-
public interface ChannelProviderChannelProvider...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChannelgetChannel(ChannelConfig channelConfig)Retrieves the channel defined in the givenChannelConfigjava.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
Listof 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
Listof 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.
-
-