ChannelService¶
Methods¶
addOrUpdate¶
channelExists¶
delete¶
getAllChannels¶
getChannel¶
registerChannel¶
-
void
registerChannel
(ChannelRequest channelRequest)¶ Registers the given channel with the task module.
Parameters: - channelRequest – the channel request, not null
registerChannel¶
-
void
registerChannel
(InputStream stream, String moduleName, String moduleVersion)¶ Registers channel from the given stream for the given module. The input stream should contain the JSON definition of the channel.
Parameters: - stream – the channel JSON definition as a stream, not null
- moduleName – the name of the module
- moduleVersion – the version of the module