Package com.day.cq.notification.api
Interface ChannelProvider
public interface ChannelProvider
ChannelProvider...-
Method Summary
Modifier and TypeMethodDescriptiongetChannel(ChannelConfig channelConfig) Retrieves the channel defined in the givenChannelConfigRetrieves all channels currently registered within the system.getChannels(Subscription subscription) Retrieves the channels defined within aSubscription.
-
Method Details
-
getChannels
Retrieves all channels currently registered within the system.- Returns:
- A
Listof channels.
-
getChannels
Retrieves the channels defined within aSubscription.- Parameters:
subscription- The subscription for which to get the channels.- Returns:
- A
Listof channels.
-
getChannel
Retrieves the channel defined in the givenChannelConfig- Parameters:
channelConfig- The channel configuration for which to the the channel- Returns:
- A channel.
-