Class IMAPFolderPollingWorkflowEventSource

All Implemented Interfaces:
IActivatableWorkflowObject, de.uplanet.lucy.server.workflow.IImpersonateUser, ILogLevelAware, INamedWorkflowObject, de.uplanet.lucy.server.workflow.INeedClusterInfo, INeedWorkflow, IRunnableWorkflowObject, IStartableWorkflowObject, ISupportAfterStopEvent, ISupportBeforeStartEvent, ISupportGlobalSharedState, IWorkflowEventSource, IWorkflowObject, Serializable

public final class IMAPFolderPollingWorkflowEventSource extends AbstractIMAPFolderWorkflowEventSource implements ISupportGlobalSharedState, ISupportBeforeStartEvent, ISupportAfterStopEvent
Since:
Intrexx 7.0.
See Also:
  • Field Details

    • DEFAULT_POLLING_INTERVAL

      public static final long DEFAULT_POLLING_INTERVAL
      The default polling interval in milliseconds (60000L).
      See Also:
  • Constructor Details

    • IMAPFolderPollingWorkflowEventSource

      public IMAPFolderPollingWorkflowEventSource(String p_strGuid)
  • Method Details

    • getProtocol

      public String getProtocol()
      Get the protocol.
      Overrides:
      getProtocol in class AbstractIMAPFolderWorkflowEventSource
      Returns:
      Either IMAP, or IMAPS, or IMAP_STARTTLS.
    • setProtocol

      public void setProtocol(String p_strProtocol)
      Set the protocol.
      Overrides:
      setProtocol in class AbstractIMAPFolderWorkflowEventSource
      Parameters:
      p_strProtocol - The protocol, i.e. either IMAP, or IMAPS, or IMAP_STARTTLS.
    • getHost

      public String getHost()
      Get the IMAP server to connect to.
      Overrides:
      getHost in class AbstractIMAPFolderWorkflowEventSource
      Returns:
      The IMAP server.
    • setHost

      public void setHost(String p_strHost)
      Set the IMAP server to connect to.
      Overrides:
      setHost in class AbstractIMAPFolderWorkflowEventSource
      Parameters:
      p_strHost - The IMAP server.
    • getPort

      public int getPort()
      Get the port the IMAP server listens to.
      Overrides:
      getPort in class AbstractIMAPFolderWorkflowEventSource
      Returns:
      The port.
    • setPort

      public void setPort(int p_iPort)
      Set the port the IMAP server listens to.
      Overrides:
      setPort in class AbstractIMAPFolderWorkflowEventSource
      Parameters:
      p_iPort - The port.
    • getUser

      public String getUser()
      Get the name of the IMAP user.
      Returns:
      The name of the IMAP user.
    • setUser

      public void setUser(String p_strUser)
      Set the name of the IMAP user.
      Parameters:
      p_strUser - The name of the IMAP user.
    • getPassword

      public String getPassword()
      Get the password of the IMAP user.
      Returns:
      The password of the IMAP user.
    • setPassword

      public void setPassword(String p_strPassword)
      Set the password of the IMAP user.
      Parameters:
      p_strPassword - The password of the IMAP user.
    • getPollingInterval

      public long getPollingInterval()
      Get the polling interval in milliseconds.
      Returns:
      The polling interval.
    • setPollingInterval

      public void setPollingInterval(long p_lPollingInterval)
      Set the polling interval in milliseconds.
      Parameters:
      p_lPollingInterval - The polling interval.
    • isMicrosoftExchangeServerExistsBugWorkaroundEnabled

      public boolean isMicrosoftExchangeServerExistsBugWorkaroundEnabled()
      Check if the workaround for the bug in Microsoft Exchange Server 2007, 2010, and 2013, is enabled.
      Returns:
      true if the workaround is enabled (default), or false otherwise.
      See Also:
    • setMicrosoftExchangeServerExistsBugWorkaroundEnabled

      public void setMicrosoftExchangeServerExistsBugWorkaroundEnabled(boolean p_bEnabled)
      Enables or disables a possible workaround for a bug in Microsoft Exchange Server 2007, 2010, and 2013, that fails to notify the client of new messages.

      The default value of this property is true.

      See https://github.com/javaee/javamail/issues/156.

      Parameters:
      p_bEnabled - true if the workaround should be enabled, or false otherwise.