ChannelRequest¶
-
public class
ChannelRequest
¶ Service layer object denoting a
Channel
. Used byorg.motechproject.tasks.service.ChannelService
. It is used for registering new and updating already existent channels.
Constructors¶
ChannelRequest¶
-
public
ChannelRequest
(String displayName, String moduleName, String moduleVersion, String description, List<TriggerEventRequest> triggerTaskEvents, List<ActionEventRequest> actionTaskEvents)¶ Constructor.
Parameters: - displayName – the channel display name
- moduleName – the module symbolic name
- moduleVersion – the module version
- description – the channel description
- triggerTaskEvents – the triggers definitions
- actionTaskEvents – the actions definitions
Methods¶
getActionTaskEvents¶
-
public List<ActionEventRequest>
getActionTaskEvents
()¶ Returns the task action events for this channel.
Returns: the task action events
getDescription¶
getDisplayName¶
getModuleName¶
getModuleVersion¶
getTriggerTaskEvents¶
-
public List<TriggerEventRequest>
getTriggerTaskEvents
()¶ Returns the task trigger events for this channel.
Returns: the task trigger events