Interface ChannelConfigurationFactory
- All Known Implementing Classes:
DefaultChannelConfigurationFactory
public interface ChannelConfigurationFactory
Interface that enables the automatic generation of outboundsync components when a new
OutboundChannelConfigurationModel is created.-
Method Summary
Modifier and TypeMethodDescriptionCreates theOutboundSyncCronJobModelcreateJob(OutboundChannelConfigurationModel channel, OutboundSyncStreamConfigurationContainerModel streamConfigContainer) Creates theOutboundSyncJobModelCreates theStreamConfigurationContainerModelcreateStreams(OutboundChannelConfigurationModel channel, StreamConfigurationContainerModel streamConfigContainer) Create theStreamConfigurationModels for each IntegrationObjectItem
-
Method Details
-
createStreamContainer
OutboundSyncStreamConfigurationContainerModel createStreamContainer(OutboundChannelConfigurationModel channel) Creates theStreamConfigurationContainerModel- Parameters:
channel- theOutboundChannelConfigurationModel- Returns:
- the new
StreamConfigurationContainerModel
-
createStreams
List<StreamConfigurationModel> createStreams(OutboundChannelConfigurationModel channel, StreamConfigurationContainerModel streamConfigContainer) Create theStreamConfigurationModels for each IntegrationObjectItem- Parameters:
channel- theOutboundChannelConfigurationModelto associate with eachStreamConfigurationModelstreamConfigContainer- theStreamConfigurationContainerModelto associate with eachStreamConfigurationModel- Returns:
- a list of
StreamConfigurationModels
-
createJob
OutboundSyncJobModel createJob(OutboundChannelConfigurationModel channel, OutboundSyncStreamConfigurationContainerModel streamConfigContainer) Creates theOutboundSyncJobModel- Parameters:
channel- theOutboundChannelConfigurationModelto associate with the new outboundsync componentstreamConfigContainer- theOutboundSyncStreamConfigurationContainerModelto associate with the new outboundsync component- Returns:
- the new
OutboundSyncJobModel
-
createCronJob
OutboundSyncCronJobModel createCronJob(OutboundChannelConfigurationModel channel, OutboundSyncJobModel job) Creates theOutboundSyncCronJobModel- Parameters:
channel- theOutboundChannelConfigurationModelto associate with the new outboundsync componentjob- theOutboundSyncJobModelto associate with the new outboundsync component- Returns:
- the new
OutboundSyncCronJobModel
-