public abstract class AbstractChannel<T extends ChannelExtension> extends Object implements Channel
CHANNEL_DESCRIPTION| Constructor and Description |
|---|
AbstractChannel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(String resourceType)
Check whether the specified resource type is supported by this channel
|
Map<String,Object> |
getConfiguration()
Get the channel configuration
|
void |
performAfterDeliver(Notification notification,
String userId,
Session session,
Map<String,Object> configuration)
This method is being called after a channel performs its
Channel.deliver operation. |
void |
performBeforeDeliver(Notification notification,
String userId,
Session session,
Map<String,Object> configuration)
This method is being called before a channel performs its
Channel.deliver operation. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeliver, getId, getUserDescription, isImmediatepublic boolean accept(String resourceType)
Channelpublic Map<String,Object> getConfiguration()
ChannelgetConfiguration in interface Channelpublic void performBeforeDeliver(Notification notification, String userId, Session session, Map<String,Object> configuration) throws ChannelException
ChannelChannel.deliver operation. This is to allow
any channel extension to perform any delivery customization.performBeforeDeliver in interface Channelnotification - the target NotificationuserId - the user whom to be notified.session - the session that is being used to perform the operation.configuration - the channel configuration.ChannelException - thrown if any one of the operations extensions throws an exception. This aborts the
operations.public void performAfterDeliver(Notification notification, String userId, Session session, Map<String,Object> configuration) throws ChannelException
ChannelChannel.deliver operation. This is to allow
any channel extension to perform any delivery customization.performAfterDeliver in interface Channelnotification - the target NotificationuserId - the user whom to be notified.session - the session that is being used to perform the operation.configuration - the channel configuration.ChannelException - thrown if any one of the operations extensions throws an exception. This aborts the
operations."Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"