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
  • Field Details

    • url

      protected String url
      The IMAP url for the inbound mail
    • deleteMessages

      protected String deleteMessages
      Whether messages should be deleted after they've been received. If not set the global default will be used.
    • markMessagesAsRead

      protected String markMessagesAsRead
      Whether messages should be marked as read once they've been received. If not set the global default will be used.
    • userFlag

      protected String 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.
    • pollingRate

      protected String pollingRate
      The duration at which the messages from the mail server should be polled.
    • subjectCorrelationPattern

      protected Pattern 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

      protected List<MailInboundChannelModel.CustomProperty> customProperties
      The custom properties that should be passed to the mail receiver.
  • Constructor Details

    • MailInboundChannelModel

      public MailInboundChannelModel()
  • Method Details

    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • getDeleteMessages

      public String getDeleteMessages()
    • setDeleteMessages

      public void setDeleteMessages(String deleteMessages)
    • getMarkMessagesAsRead

      public String getMarkMessagesAsRead()
    • setMarkMessagesAsRead

      public void setMarkMessagesAsRead(String markMessagesAsRead)
    • getUserFlag

      public String getUserFlag()
    • setUserFlag

      public void setUserFlag(String userFlag)
    • getPollingRate

      public String getPollingRate()
    • setPollingRate

      public void setPollingRate(String pollingRate)
    • getSubjectCorrelationPattern

      public Pattern getSubjectCorrelationPattern()
    • setSubjectCorrelationPattern

      public void setSubjectCorrelationPattern(Pattern subjectCorrelationPattern)
    • getSubjectCorrelationPatternString

      public String getSubjectCorrelationPatternString()
    • setSubjectCorrelationPattern

      public void setSubjectCorrelationPattern(String subjectCorrelationPattern)
    • getAuthentication

    • setAuthentication

      public void setAuthentication(MailInboundChannelModel.AuthenticationProperties authentication)
    • getCustomProperties

      public List<MailInboundChannelModel.CustomProperty> getCustomProperties()
    • addCustomProperty

      public void addCustomProperty(String name, String value)
    • setCustomProperties

      public void setCustomProperties(List<MailInboundChannelModel.CustomProperty> customProperties)
    • getChannelEventTenantIdDetection

      public MailChannelEventTenantIdDetection getChannelEventTenantIdDetection()
      Overrides:
      getChannelEventTenantIdDetection in class org.flowable.eventregistry.model.InboundChannelModel
    • setChannelEventTenantIdDetection

      public void setChannelEventTenantIdDetection(org.flowable.eventregistry.model.ChannelEventTenantIdDetection channelEventTenantIdDetection)
      Overrides:
      setChannelEventTenantIdDetection in class org.flowable.eventregistry.model.InboundChannelModel
    • setChannelEventTenantIdDetection

      public void setChannelEventTenantIdDetection(MailChannelEventTenantIdDetection channelEventTenantIdDetection)