Class ExchangeOnlineIMAPFolderPollingWorkflowEventSource
java.lang.Object
de.uplanet.lucy.server.workflow.eventsource.AbstractWorkflowEventSource
de.uplanet.lucy.server.workflow.eventsource.AbstractSingleThreadedWorkflowEventSource
de.uplanet.lucy.server.mailservice.workflow.eventsource.AbstractIMAPFolderWorkflowEventSource
de.uplanet.lucy.server.mailservice.workflow.eventsource.ExchangeOnlineIMAPFolderPollingWorkflowEventSource
- 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 ExchangeOnlineIMAPFolderPollingWorkflowEventSource
extends AbstractIMAPFolderWorkflowEventSource
implements ISupportGlobalSharedState, ISupportBeforeStartEvent, ISupportAfterStopEvent
- Since:
- Intrexx 10.16.0.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longThe default clock skew in seconds (60L).static final longThe default polling interval in milliseconds (60000L).Fields inherited from interface de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetHost()Get the IMAP server to connect to.longGet the polling interval in milliseconds.intgetPort()Get the port the IMAP server listens to.getScope()booleanCheck if the workaround for the bug in Microsoft Exchange Server 2007, 2010, and 2013, is enabled.voidsetAuthority(String p_strAuthority) voidsetAuthorityParamRef(String p_strParamRef) voidsetClientId(String p_strClientId) voidsetClientIdParamRef(String p_strParamRef) voidsetClientSecret(String p_strClientSecret) voidsetClockSkewSeconds(long p_lClockSkewSeconds) voidSet the IMAP server to connect to.voidsetMicrosoftExchangeServerExistsBugWorkaroundEnabled(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.voidsetPollingInterval(long p_lPollingInterval) Set the polling interval in milliseconds.voidsetPort(int p_iPort) Set the port the IMAP server listens to.voidvoidvoidsetTenantParamRef(String p_strParamRef) voidsetUserPrincipalName(String p_strUserPrincipalName) voidsetUserPrincipalNameParamRef(String p_strParamRef) Methods inherited from class de.uplanet.lucy.server.mailservice.workflow.eventsource.AbstractIMAPFolderWorkflowEventSource
getClusterInfo, getDispatchDelay, getFinishAction, getFolder, getJavaMailProperties, getMessageSelectFilter, getOnErrorRestartWaitTimeout, getProtocol, isGlobalSharedState, isLoadIncomingMessagesImmediately, isSendAfterStopEvent, isSendBeforeStartEvent, setClusterInfo, setDispatchDelay, setFinishAction, setFolder, setGlobalSharedState, setJavaMailProperties, setLoadIncomingMessagesImmediately, setMessageSelectFilter, setOnErrorRestartWaitTimeout, setProtocol, setSendAfterStopEvent, setSendBeforeStartEventMethods inherited from class de.uplanet.lucy.server.workflow.eventsource.AbstractSingleThreadedWorkflowEventSource
getDatabaseConnectionFactory, getStartDelay, getStopWaitTimeout, isLogVerbose, isRunning, setDatabaseConnectionFactory, setLogVerbose, setStartDelay, setStopWaitTimeout, shouldRun, start, stopMethods inherited from class de.uplanet.lucy.server.workflow.eventsource.AbstractWorkflowEventSource
getGuid, getImpersonateUserGuid, getName, getWorkflow, hasImpersonateUserGuid, isActive, isRunWithLocalSystemPrivileges, setActive, setImpersonateUserGuid, setName, setRunWithLocalSystemPrivileges, setWorkflow, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.uplanet.lucy.server.workflow.ISupportAfterStopEvent
isSendAfterStopEvent, setSendAfterStopEventMethods inherited from interface de.uplanet.lucy.server.workflow.ISupportBeforeStartEvent
isSendBeforeStartEvent, setSendBeforeStartEventMethods inherited from interface de.uplanet.lucy.server.workflow.ISupportGlobalSharedState
isGlobalSharedState, setGlobalSharedState
-
Field Details
-
DEFAULT_POLLING_INTERVAL
public static final long DEFAULT_POLLING_INTERVALThe default polling interval in milliseconds (60000L).- See Also:
-
DEFAULT_CLOCK_SKEW_SECONDS
public static final long DEFAULT_CLOCK_SKEW_SECONDSThe default clock skew in seconds (60L).- See Also:
-
-
Constructor Details
-
ExchangeOnlineIMAPFolderPollingWorkflowEventSource
-
-
Method Details
-
getHost
Description copied from class:AbstractIMAPFolderWorkflowEventSourceGet the IMAP server to connect to.- Overrides:
getHostin classAbstractIMAPFolderWorkflowEventSource- Returns:
- The IMAP server.
-
setHost
Description copied from class:AbstractIMAPFolderWorkflowEventSourceSet the IMAP server to connect to.- Overrides:
setHostin classAbstractIMAPFolderWorkflowEventSource- Parameters:
p_strHost- The IMAP server.
-
getPort
public int getPort()Description copied from class:AbstractIMAPFolderWorkflowEventSourceGet the port the IMAP server listens to.- Overrides:
getPortin classAbstractIMAPFolderWorkflowEventSource- Returns:
- The port.
-
setPort
public void setPort(int p_iPort) Description copied from class:AbstractIMAPFolderWorkflowEventSourceSet the port the IMAP server listens to.- Overrides:
setPortin classAbstractIMAPFolderWorkflowEventSource- Parameters:
p_iPort- The port.
-
getUserPrincipalName
-
setUserPrincipalName
-
getUserPrincipalNameParamRef
-
setUserPrincipalNameParamRef
-
getAuthority
-
setAuthority
-
getAuthorityParamRef
-
setAuthorityParamRef
-
getTenant
-
setTenant
-
getTenantParamRef
-
setTenantParamRef
-
getScope
-
setScope
-
getClientId
-
setClientId
-
getClientIdParamRef
-
setClientIdParamRef
-
getClientSecret
-
setClientSecret
-
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.
-
getClockSkewSeconds
public long getClockSkewSeconds() -
setClockSkewSeconds
public void setClockSkewSeconds(long p_lClockSkewSeconds) -
isMicrosoftExchangeServerExistsBugWorkaroundEnabled
public boolean isMicrosoftExchangeServerExistsBugWorkaroundEnabled()Check if the workaround for the bug in Microsoft Exchange Server 2007, 2010, and 2013, is enabled.- Returns:
trueif the workaround is enabled (default), orfalseotherwise.- 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.- Parameters:
p_bEnabled-trueif the workaround should be enabled, orfalseotherwise.
-