Class MailInboundChannelModel
java.lang.Object
org.flowable.eventregistry.model.ChannelModel
org.flowable.eventregistry.model.InboundChannelModel
com.flowable.platform.engine.impl.eventregistry.mail.MailInboundChannelModel
public class MailInboundChannelModel
extends org.flowable.eventregistry.model.InboundChannelModel
- Author:
- Filip Hrisafov
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MailInboundChannelModel.AuthenticationProperties
static class
MailInboundChannelModel.CustomProperty
-
Field Summary
Fields Modifier and Type Field Description protected MailInboundChannelModel.AuthenticationProperties
authentication
The authentication configuration.protected java.util.List<MailInboundChannelModel.CustomProperty>
customProperties
The custom properties that should be passed to the mail receiver.protected java.lang.String
deleteMessages
Whether messages should be deleted after they've been received.protected java.lang.String
markMessagesAsRead
Whether messages should be marked as read once they've been received.protected java.lang.String
pollingRate
The duration at which the messages from the mail server should be polled.protected java.util.regex.Pattern
subjectCorrelationPattern
A pattern that can be used to extract groups from the subject that should be used for creating the subject correlation payload.protected java.lang.String
url
The IMAP url for the inbound mailprotected java.lang.String
userFlag
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, deserializerDelegateExpression, deserializerType, eventTransformerDelegateExpression, inboundEventChannelAdapter, inboundEventProcessingPipeline, payloadExtractorDelegateExpression, pipelineDelegateExpression
-
Constructor Summary
Constructors Constructor Description MailInboundChannelModel()
-
Method Summary
Modifier and Type Method Description void
addCustomProperty(java.lang.String name, java.lang.String value)
MailInboundChannelModel.AuthenticationProperties
getAuthentication()
java.util.List<MailInboundChannelModel.CustomProperty>
getCustomProperties()
java.lang.String
getDeleteMessages()
java.lang.String
getMarkMessagesAsRead()
java.lang.String
getPollingRate()
java.util.regex.Pattern
getSubjectCorrelationPattern()
java.lang.String
getSubjectCorrelationPatternString()
java.lang.String
getUrl()
java.lang.String
getUserFlag()
void
setAuthentication(MailInboundChannelModel.AuthenticationProperties authentication)
void
setCustomProperties(java.util.List<MailInboundChannelModel.CustomProperty> customProperties)
void
setDeleteMessages(java.lang.String deleteMessages)
void
setMarkMessagesAsRead(java.lang.String markMessagesAsRead)
void
setPollingRate(java.lang.String pollingRate)
void
setSubjectCorrelationPattern(java.lang.String subjectCorrelationPattern)
void
setSubjectCorrelationPattern(java.util.regex.Pattern subjectCorrelationPattern)
void
setUrl(java.lang.String url)
void
setUserFlag(java.lang.String userFlag)
Methods inherited from class org.flowable.eventregistry.model.InboundChannelModel
getChannelEventKeyDetection, getChannelEventTenantIdDetection, getDeserializerDelegateExpression, getDeserializerType, getEventTransformerDelegateExpression, getInboundEventChannelAdapter, getInboundEventProcessingPipeline, getPayloadExtractorDelegateExpression, getPipelineDelegateExpression, setChannelEventKeyDetection, setChannelEventTenantIdDetection, setDeserializerDelegateExpression, setDeserializerType, setEventTransformerDelegateExpression, setInboundEventChannelAdapter, setInboundEventProcessingPipeline, setPayloadExtractorDelegateExpression, setPipelineDelegateExpression
-
Field Details
-
url
protected java.lang.String urlThe IMAP url for the inbound mail -
deleteMessages
protected java.lang.String deleteMessagesWhether messages should be deleted after they've been received. If not set the global default will be used. -
markMessagesAsRead
protected java.lang.String markMessagesAsReadWhether messages should be marked as read once they've been received. If not set the global default will be used. -
userFlag
protected java.lang.String userFlagThe 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. -
pollingRate
protected java.lang.String pollingRateThe duration at which the messages from the mail server should be polled. -
subjectCorrelationPattern
protected java.util.regex.Pattern subjectCorrelationPatternA 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
public java.lang.String getUrl() -
setUrl
public void setUrl(java.lang.String url) -
getDeleteMessages
public java.lang.String getDeleteMessages() -
setDeleteMessages
public void setDeleteMessages(java.lang.String deleteMessages) -
getMarkMessagesAsRead
public java.lang.String getMarkMessagesAsRead() -
setMarkMessagesAsRead
public void setMarkMessagesAsRead(java.lang.String markMessagesAsRead) -
getUserFlag
public java.lang.String getUserFlag() -
setUserFlag
public void setUserFlag(java.lang.String userFlag) -
getPollingRate
public java.lang.String getPollingRate() -
setPollingRate
public void setPollingRate(java.lang.String pollingRate) -
getSubjectCorrelationPattern
public java.util.regex.Pattern getSubjectCorrelationPattern() -
setSubjectCorrelationPattern
public void setSubjectCorrelationPattern(java.util.regex.Pattern subjectCorrelationPattern) -
getSubjectCorrelationPatternString
public java.lang.String getSubjectCorrelationPatternString() -
setSubjectCorrelationPattern
public void setSubjectCorrelationPattern(java.lang.String subjectCorrelationPattern) -
getAuthentication
-
setAuthentication
-
getCustomProperties
-
addCustomProperty
public void addCustomProperty(java.lang.String name, java.lang.String value) -
setCustomProperties
public void setCustomProperties(java.util.List<MailInboundChannelModel.CustomProperty> customProperties)
-