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 SummaryNested Classes Modifier and Type Class Description static classMailInboundChannelModel.AuthenticationPropertiesstatic classMailInboundChannelModel.CustomProperty
- 
Field SummaryFields 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.InboundChannelModelchannelEventKeyDetection, channelEventTenantIdDetection, deserializerDelegateExpression, deserializerType, eventTransformerDelegateExpression, inboundEventChannelAdapter, inboundEventProcessingPipeline, payloadExtractorDelegateExpression, pipelineDelegateExpression
- 
Constructor SummaryConstructors Constructor Description MailInboundChannelModel()
- 
Method SummaryModifier 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.InboundChannelModelgetChannelEventKeyDetection, getChannelEventTenantIdDetection, getDeserializerDelegateExpression, getDeserializerType, getEventTransformerDelegateExpression, getInboundEventChannelAdapter, getInboundEventProcessingPipeline, getPayloadExtractorDelegateExpression, getPipelineDelegateExpression, setChannelEventKeyDetection, setChannelEventTenantIdDetection, setDeserializerDelegateExpression, setDeserializerType, setEventTransformerDelegateExpression, setInboundEventChannelAdapter, setInboundEventProcessingPipeline, setPayloadExtractorDelegateExpression, setPipelineDelegateExpression
- 
Field Details- 
urlprotected java.lang.String urlThe IMAP url for the inbound mail
- 
deleteMessagesprotected java.lang.String deleteMessagesWhether messages should be deleted after they've been received. If not set the global default will be used.
- 
markMessagesAsReadprotected java.lang.String markMessagesAsReadWhether messages should be marked as read once they've been received. If not set the global default will be used.
- 
userFlagprotected 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.
- 
pollingRateprotected java.lang.String pollingRateThe duration at which the messages from the mail server should be polled.
- 
subjectCorrelationPatternprotected 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.
- 
authenticationThe authentication configuration.
- 
customPropertiesThe custom properties that should be passed to the mail receiver.
 
- 
- 
Constructor Details- 
MailInboundChannelModelpublic MailInboundChannelModel()
 
- 
- 
Method Details- 
getUrlpublic java.lang.String getUrl()
- 
setUrlpublic void setUrl(java.lang.String url)
- 
getDeleteMessagespublic java.lang.String getDeleteMessages()
- 
setDeleteMessagespublic void setDeleteMessages(java.lang.String deleteMessages)
- 
getMarkMessagesAsReadpublic java.lang.String getMarkMessagesAsRead()
- 
setMarkMessagesAsReadpublic void setMarkMessagesAsRead(java.lang.String markMessagesAsRead)
- 
getUserFlagpublic java.lang.String getUserFlag()
- 
setUserFlagpublic void setUserFlag(java.lang.String userFlag)
- 
getPollingRatepublic java.lang.String getPollingRate()
- 
setPollingRatepublic void setPollingRate(java.lang.String pollingRate)
- 
getSubjectCorrelationPatternpublic java.util.regex.Pattern getSubjectCorrelationPattern()
- 
setSubjectCorrelationPatternpublic void setSubjectCorrelationPattern(java.util.regex.Pattern subjectCorrelationPattern)
- 
getSubjectCorrelationPatternStringpublic java.lang.String getSubjectCorrelationPatternString()
- 
setSubjectCorrelationPatternpublic void setSubjectCorrelationPattern(java.lang.String subjectCorrelationPattern)
- 
getAuthentication
- 
setAuthentication
- 
getCustomProperties
- 
addCustomPropertypublic void addCustomProperty(java.lang.String name, java.lang.String value)
- 
setCustomPropertiespublic void setCustomProperties(java.util.List<MailInboundChannelModel.CustomProperty> customProperties)
 
-