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 classMailInboundChannelModel.AuthenticationPropertiesstatic classMailInboundChannelModel.CustomProperty -
Field Summary
Fields Modifier and Type Field Description protected MailInboundChannelModel.AuthenticationPropertiesauthenticationThe authentication configuration.protected java.util.List<MailInboundChannelModel.CustomProperty>customPropertiesThe custom properties that should be passed to the mail receiver.protected java.lang.StringdeleteMessagesWhether messages should be deleted after they've been received.protected java.lang.StringmarkMessagesAsReadWhether messages should be marked as read once they've been received.protected java.lang.StringpollingRateThe duration at which the messages from the mail server should be polled.protected java.util.regex.PatternsubjectCorrelationPatternA pattern that can be used to extract groups from the subject that should be used for creating the subject correlation payload.protected java.lang.StringurlThe IMAP url for the inbound mailprotected java.lang.StringuserFlagThe 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 voidaddCustomProperty(java.lang.String name, java.lang.String value)MailInboundChannelModel.AuthenticationPropertiesgetAuthentication()java.util.List<MailInboundChannelModel.CustomProperty>getCustomProperties()java.lang.StringgetDeleteMessages()java.lang.StringgetMarkMessagesAsRead()java.lang.StringgetPollingRate()java.util.regex.PatterngetSubjectCorrelationPattern()java.lang.StringgetSubjectCorrelationPatternString()java.lang.StringgetUrl()java.lang.StringgetUserFlag()voidsetAuthentication(MailInboundChannelModel.AuthenticationProperties authentication)voidsetCustomProperties(java.util.List<MailInboundChannelModel.CustomProperty> customProperties)voidsetDeleteMessages(java.lang.String deleteMessages)voidsetMarkMessagesAsRead(java.lang.String markMessagesAsRead)voidsetPollingRate(java.lang.String pollingRate)voidsetSubjectCorrelationPattern(java.lang.String subjectCorrelationPattern)voidsetSubjectCorrelationPattern(java.util.regex.Pattern subjectCorrelationPattern)voidsetUrl(java.lang.String url)voidsetUserFlag(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)
-