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
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionThe authentication configuration.protected List<MailInboundChannelModel.CustomProperty>
The custom properties that should be passed to the mail receiver.protected String
Whether messages should be deleted after they've been received.protected String
Whether messages should be marked as read once they've been received.protected String
The maximum number of messages that should be polled in one polling iteration.protected String
The duration at which the messages from the mail server should be polled.protected Pattern
A pattern that can be used to extract groups from the subject that should be used for creating the subject correlation payload.protected String
Whether the IMAP server support IMAP IDLE.protected String
The IMAP url for the inbound mailprotected String
The 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, eventTransformerDelegateExpression, headerExtractorDelegateExpression, inboundEventChannelAdapter, inboundEventProcessingPipeline, payloadExtractorDelegateExpression, pipelineDelegateExpression
Fields inherited from class org.flowable.eventregistry.model.ChannelModel
category, channelType, description, extension, key, name, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCustomProperty
(String name, String value) getUrl()
void
setAuthentication
(MailInboundChannelModel.AuthenticationProperties authentication) void
setChannelEventTenantIdDetection
(MailChannelEventTenantIdDetection channelEventTenantIdDetection) void
setChannelEventTenantIdDetection
(ChannelEventTenantIdDetection channelEventTenantIdDetection) void
setCustomProperties
(List<MailInboundChannelModel.CustomProperty> customProperties) void
setDeleteMessages
(String deleteMessages) void
setMarkMessagesAsRead
(String markMessagesAsRead) void
setMaxMessagesPerPoll
(String maxMessagesPerPoll) void
setPollingRate
(String pollingRate) void
setSubjectCorrelationPattern
(String subjectCorrelationPattern) void
setSubjectCorrelationPattern
(Pattern subjectCorrelationPattern) void
setSupportsIdle
(String supportsIdle) void
void
setUserFlag
(String userFlag) Methods inherited from class org.flowable.eventregistry.model.InboundChannelModel
getChannelEventKeyDetection, getContextExtractorDelegateExpression, getDeserializerDelegateExpression, getDeserializerType, getEventTransformerDelegateExpression, getHeaderExtractorDelegateExpression, getInboundEventChannelAdapter, getInboundEventProcessingPipeline, getPayloadExtractorDelegateExpression, getPipelineDelegateExpression, setChannelEventKeyDetection, setContextExtractorDelegateExpression, setDeserializerDelegateExpression, setDeserializerType, setEventTransformerDelegateExpression, setHeaderExtractorDelegateExpression, setInboundEventChannelAdapter, setInboundEventProcessingPipeline, setPayloadExtractorDelegateExpression, setPipelineDelegateExpression
Methods 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 totrue
then 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:
getChannelEventTenantIdDetection
in classInboundChannelModel
-
setChannelEventTenantIdDetection
public void setChannelEventTenantIdDetection(ChannelEventTenantIdDetection channelEventTenantIdDetection) - Overrides:
setChannelEventTenantIdDetection
in classInboundChannelModel
-
setChannelEventTenantIdDetection
public void setChannelEventTenantIdDetection(MailChannelEventTenantIdDetection channelEventTenantIdDetection)
-