Class MailInboundChannelModel
java.lang.Object
org.flowable.eventregistry.model.ChannelModel
org.flowable.eventregistry.model.InboundChannelModel
com.flowable.platform.engine.impl.eventregistry.mail.MailInboundChannelModel
- Author:
- Filip Hrisafov
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionThe authentication configuration.protected List<MailInboundChannelModel.CustomProperty>The custom properties that should be passed to the mail receiver.protected StringWhether messages should be deleted after they've been received.protected StringWhether messages should be marked as read once they've been received.protected StringThe maximum number of messages that should be polled in one polling iteration.protected StringThe duration at which the messages from the mail server should be polled.protected PatternA pattern that can be used to extract groups from the subject that should be used for creating the subject correlation payload.protected StringWhether the IMAP server support IMAP IDLE.protected StringThe IMAP url for the inbound mailprotected StringThe name of the flag to use to flag messages when the server does not support \Recent, but supports user flags.Fields inherited from class org.flowable.eventregistry.model.InboundChannelModel
channelEventKeyDetection, channelEventTenantIdDetection, contextExtractorDelegateExpression, deserializerDelegateExpression, deserializerType, eventFilterDelegateExpression, eventTransformerDelegateExpression, headerExtractorDelegateExpression, inboundEventChannelAdapter, inboundEventProcessingPipeline, payloadExtractorDelegateExpression, pipelineDelegateExpressionFields inherited from class org.flowable.eventregistry.model.ChannelModel
category, channelType, description, extension, key, name, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustomProperty(String name, String value) getUrl()voidsetAuthentication(MailInboundChannelModel.AuthenticationProperties authentication) voidsetChannelEventTenantIdDetection(MailChannelEventTenantIdDetection channelEventTenantIdDetection) voidsetChannelEventTenantIdDetection(ChannelEventTenantIdDetection channelEventTenantIdDetection) voidsetCustomProperties(List<MailInboundChannelModel.CustomProperty> customProperties) voidsetDeleteMessages(String deleteMessages) voidsetMarkMessagesAsRead(String markMessagesAsRead) voidsetMaxMessagesPerPoll(String maxMessagesPerPoll) voidsetPollingRate(String pollingRate) voidsetSubjectCorrelationPattern(String subjectCorrelationPattern) voidsetSubjectCorrelationPattern(Pattern subjectCorrelationPattern) voidsetSupportsIdle(String supportsIdle) voidvoidsetUserFlag(String userFlag) Methods inherited from class org.flowable.eventregistry.model.InboundChannelModel
getChannelEventKeyDetection, getContextExtractorDelegateExpression, getDeserializerDelegateExpression, getDeserializerType, getEventFilterDelegateExpression, getEventTransformerDelegateExpression, getHeaderExtractorDelegateExpression, getInboundEventChannelAdapter, getInboundEventProcessingPipeline, getPayloadExtractorDelegateExpression, getPipelineDelegateExpression, setChannelEventKeyDetection, setContextExtractorDelegateExpression, setDeserializerDelegateExpression, setDeserializerType, setEventFilterDelegateExpression, setEventTransformerDelegateExpression, setHeaderExtractorDelegateExpression, setInboundEventChannelAdapter, setInboundEventProcessingPipeline, setPayloadExtractorDelegateExpression, setPipelineDelegateExpressionMethods inherited from class org.flowable.eventregistry.model.ChannelModel
getCategory, getChannelType, getDescription, getExtension, getKey, getName, getType, setCategory, setChannelType, setDescription, setExtension, setKey, setName, setType
-
Field Details
-
url
The IMAP url for the inbound mail -
deleteMessages
Whether messages should be deleted after they've been received. If not set the global default will be used. -
markMessagesAsRead
Whether messages should be marked as read once they've been received. If not set the global default will be used. -
userFlag
The name of the flag to use to flag messages when the server does not support \Recent, but supports user flags. If not set the global default will be used. -
supportsIdle
Whether the IMAP server support IMAP IDLE. When this is set totruethen IMAP IDLE will be used to receive messages. -
pollingRate
The duration at which the messages from the mail server should be polled. -
maxMessagesPerPoll
The maximum number of messages that should be polled in one polling iteration. -
subjectCorrelationPattern
A pattern that can be used to extract groups from the subject that should be used for creating the subject correlation payload. -
authentication
The authentication configuration. -
customProperties
The custom properties that should be passed to the mail receiver.
-
-
Constructor Details
-
MailInboundChannelModel
public MailInboundChannelModel()
-
-
Method Details
-
getUrl
-
setUrl
-
getDeleteMessages
-
setDeleteMessages
-
getMarkMessagesAsRead
-
setMarkMessagesAsRead
-
getUserFlag
-
setUserFlag
-
getSupportsIdle
-
setSupportsIdle
-
getPollingRate
-
getMaxMessagesPerPoll
-
setMaxMessagesPerPoll
-
setPollingRate
-
getSubjectCorrelationPattern
-
setSubjectCorrelationPattern
-
getSubjectCorrelationPatternString
-
setSubjectCorrelationPattern
-
getAuthentication
-
setAuthentication
-
getCustomProperties
-
addCustomProperty
-
setCustomProperties
-
getChannelEventTenantIdDetection
- Overrides:
getChannelEventTenantIdDetectionin classInboundChannelModel
-
setChannelEventTenantIdDetection
public void setChannelEventTenantIdDetection(ChannelEventTenantIdDetection channelEventTenantIdDetection) - Overrides:
setChannelEventTenantIdDetectionin classInboundChannelModel
-
setChannelEventTenantIdDetection
public void setChannelEventTenantIdDetection(MailChannelEventTenantIdDetection channelEventTenantIdDetection)
-