Class DelegateExpressionOutboundChannelModelProcessor
java.lang.Object
org.flowable.eventregistry.impl.pipeline.DelegateExpressionOutboundChannelModelProcessor
- All Implemented Interfaces:
ChannelModelProcessor
public class DelegateExpressionOutboundChannelModelProcessor
extends Object
implements ChannelModelProcessor
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected HasExpressionManagerEngineConfiguration
protected com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
ConstructorsConstructorDescriptionDelegateExpressionOutboundChannelModelProcessor
(HasExpressionManagerEngineConfiguration engineConfiguration, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canProcess
(ChannelModel channelModel) boolean
canProcessIfChannelModelAlreadyRegistered
(ChannelModel channelModel) void
registerChannelModel
(ChannelModel channelModel, String tenantId, EventRegistry eventRegistry, EventRepositoryService eventRepositoryService, boolean fallbackToDefaultTenant) protected void
registerChannelModel
(DelegateExpressionOutboundChannelModel channelModel, String tenantId) void
setEngineConfiguration
(HasExpressionManagerEngineConfiguration engineConfiguration) void
unregisterChannelModel
(ChannelModel channelModel, String tenantId, EventRepositoryService eventRepositoryService)
-
Field Details
-
engineConfiguration
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
DelegateExpressionOutboundChannelModelProcessor
public DelegateExpressionOutboundChannelModelProcessor(HasExpressionManagerEngineConfiguration engineConfiguration, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
canProcess
- Specified by:
canProcess
in interfaceChannelModelProcessor
-
canProcessIfChannelModelAlreadyRegistered
- Specified by:
canProcessIfChannelModelAlreadyRegistered
in interfaceChannelModelProcessor
-
registerChannelModel
public void registerChannelModel(ChannelModel channelModel, String tenantId, EventRegistry eventRegistry, EventRepositoryService eventRepositoryService, boolean fallbackToDefaultTenant) - Specified by:
registerChannelModel
in interfaceChannelModelProcessor
-
registerChannelModel
protected void registerChannelModel(DelegateExpressionOutboundChannelModel channelModel, String tenantId) -
unregisterChannelModel
public void unregisterChannelModel(ChannelModel channelModel, String tenantId, EventRepositoryService eventRepositoryService) - Specified by:
unregisterChannelModel
in interfaceChannelModelProcessor
-
getEngineConfiguration
-
setEngineConfiguration
-