DynamicChannelLoader¶
-
public interface
DynamicChannelLoader
¶ Service responsible for loading dynamic triggers and action from modules which provides an instance of the
DynamicChannelProvider
.
Methods¶
channelExists¶
-
boolean
channelExists
(String moduleName)¶ Checks whether module with the given
moduleName
provides an implementation of theDynamicChannelProvider
.Parameters: - moduleName – the name of the module
Returns: true if module provides the implementation, false otherwise
countByChannelModuleName¶
getDynamicTriggers¶
-
List<TriggerEvent>
getDynamicTriggers
(String moduleName, int page, int pageSize)¶ Returns a list of triggers based on the given
moduleName
,page
andpageSize
.Parameters: - moduleName – the name of the module
- page – the number of the page
- pageSize – the size of the page
Returns: list of triggers
getTrigger¶
-
TriggerEvent
getTrigger
(TaskTriggerInformation triggerInformation)¶ Returns a trigger matching the information provided with the
triggerInformation
.Parameters: - triggerInformation – the information about the trigger
Returns: the matching trigger