Klasse MaildirWorkflowEventSource
java.lang.Object
de.uplanet.lucy.server.workflow.eventsource.AbstractWorkflowEventSource
de.uplanet.lucy.server.workflow.eventsource.AbstractSingleThreadedWorkflowEventSource
de.uplanet.lucy.server.mailservice.workflow.eventsource.MaildirWorkflowEventSource
- Alle implementierten Schnittstellen:
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 MaildirWorkflowEventSource
extends AbstractSingleThreadedWorkflowEventSource
implements de.uplanet.lucy.server.workflow.INeedClusterInfo, ISupportGlobalSharedState, ISupportBeforeStartEvent, ISupportAfterStopEvent
Event source that watches maildirs.
See maildir format.
- Seit:
- Intrexx 7.0.
- Siehe auch:
-
Feldübersicht
Von Schnittstelle geerbte Felder de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungde.uplanet.lucy.server.workflow.IClusterInfolongGet the dispatch delay, i.e. the delay before a file system event is dispatched to the workflows.Get the watched directory.booleanThis property determines if a global shared state should be used for all events created by this event source.booleanThis property determines if file system objects whose names start with a dot should be ignored.booleanThis property determines if incoming messages should be loaded immediately and be included in the generated events.booleanThis property determines if anIAfterStopWatchMaildirWorkflowEventshould be sent.booleanThis property determines if anIBeforeStartWatchMaildirWorkflowEventshould be sent.voidsetClusterInfo(de.uplanet.lucy.server.workflow.IClusterInfo p_clusterInfo) voidsetDispatchDelay(long p_lDispatchDelay) Set the dispatch delay, i.e. the delay before a file system event is dispatched to the workflows.voidsetGlobalSharedState(boolean p_bGlobalSharedState) This property determines if a global shared state should be used for all events created by this event source.voidsetIgnoreDottedMaildirObjects(boolean p_bIgnoreDottedMaildirObjects) This property determines if file system objects whose names start with a dot should be ignored.voidsetLoadIncomingMessagesImmediately(boolean p_bLoadIncomingMessagesImmediately) This property determines if incoming messages should be loaded immediately and be included in the generated events.voidsetSendAfterStopEvent(boolean p_bSendAfterStopEvent) This property determines if anIAfterStopWatchMaildirWorkflowEventshould be sent.voidsetSendBeforeStartEvent(boolean p_bSendBeforeStartEvent) This property determines if anIBeforeStartWatchMaildirWorkflowEventshould be sent.voidsetWatchedDirectory(String p_strPath) Set the watched directory.Von Klasse geerbte Methoden de.uplanet.lucy.server.workflow.eventsource.AbstractSingleThreadedWorkflowEventSource
getDatabaseConnectionFactory, getStartDelay, getStopWaitTimeout, isLogVerbose, isRunning, setDatabaseConnectionFactory, setLogVerbose, setStartDelay, setStopWaitTimeout, shouldRun, start, stopVon Klasse geerbte Methoden de.uplanet.lucy.server.workflow.eventsource.AbstractWorkflowEventSource
getGuid, getImpersonateUserGuid, getName, getWorkflow, hasImpersonateUserGuid, isActive, isRunWithLocalSystemPrivileges, setActive, setImpersonateUserGuid, setName, setRunWithLocalSystemPrivileges, setWorkflow, toString
-
Konstruktordetails
-
MaildirWorkflowEventSource
-
-
Methodendetails
-
getClusterInfo
public de.uplanet.lucy.server.workflow.IClusterInfo getClusterInfo()- Angegeben von:
getClusterInfoin Schnittstellede.uplanet.lucy.server.workflow.INeedClusterInfo
-
setClusterInfo
public void setClusterInfo(de.uplanet.lucy.server.workflow.IClusterInfo p_clusterInfo) - Angegeben von:
setClusterInfoin Schnittstellede.uplanet.lucy.server.workflow.INeedClusterInfo
-
getDispatchDelay
public long getDispatchDelay()Get the dispatch delay, i.e. the delay before a file system event is dispatched to the workflows.- Gibt zurück:
- The dispatch delay.
-
setDispatchDelay
public void setDispatchDelay(long p_lDispatchDelay) Set the dispatch delay, i.e. the delay before a file system event is dispatched to the workflows.- Parameter:
p_lDispatchDelay- The dispatch delay.
-
getWatchedDirectory
Get the watched directory.- Gibt zurück:
- The watched directory.
-
setWatchedDirectory
Set the watched directory.- Parameter:
p_strPath- The directory to be watched.
-
isSendBeforeStartEvent
public boolean isSendBeforeStartEvent()This property determines if anIBeforeStartWatchMaildirWorkflowEventshould be sent.- Angegeben von:
isSendBeforeStartEventin SchnittstelleISupportBeforeStartEvent- Gibt zurück:
trueif the event should be sent before the workflow object's activity is about to being started, orfalseotherwise.
-
setSendBeforeStartEvent
public void setSendBeforeStartEvent(boolean p_bSendBeforeStartEvent) This property determines if anIBeforeStartWatchMaildirWorkflowEventshould be sent.- Angegeben von:
setSendBeforeStartEventin SchnittstelleISupportBeforeStartEvent- Parameter:
p_bSendBeforeStartEvent-trueif the event should be sent before the workflow object's activity is about to being started, orfalseotherwise.
-
isSendAfterStopEvent
public boolean isSendAfterStopEvent()This property determines if anIAfterStopWatchMaildirWorkflowEventshould be sent.- Angegeben von:
isSendAfterStopEventin SchnittstelleISupportAfterStopEvent- Gibt zurück:
trueif the event should be sent after the workflow object's activity has been stopped, orfalseotherwise.
-
setSendAfterStopEvent
public void setSendAfterStopEvent(boolean p_bSendAfterStopEvent) This property determines if anIAfterStopWatchMaildirWorkflowEventshould be sent.- Angegeben von:
setSendAfterStopEventin SchnittstelleISupportAfterStopEvent- Parameter:
p_bSendAfterStopEvent-trueif the event should be sent after the workflow object's activity has been stopped, orfalseotherwise.
-
isIgnoreDottedMaildirObjects
public boolean isIgnoreDottedMaildirObjects()This property determines if file system objects whose names start with a dot should be ignored.The default value is
true.- Gibt zurück:
trueif dotted file system objects should be ignored, orfalseotherwise.
-
setIgnoreDottedMaildirObjects
public void setIgnoreDottedMaildirObjects(boolean p_bIgnoreDottedMaildirObjects) This property determines if file system objects whose names start with a dot should be ignored.The default value is
true.- Parameter:
p_bIgnoreDottedMaildirObjects-trueif dotted file system objects should be ignored, orfalseotherwise.
-
isLoadIncomingMessagesImmediately
public boolean isLoadIncomingMessagesImmediately()This property determines if incoming messages should be loaded immediately and be included in the generated events.If set to
falseloading of the message will be delayed until it is accessed through the event's message property.The default value is
false.- Gibt zurück:
trueif incoming messages should be loaded immediately, orfalseotherwise.
-
setLoadIncomingMessagesImmediately
public void setLoadIncomingMessagesImmediately(boolean p_bLoadIncomingMessagesImmediately) This property determines if incoming messages should be loaded immediately and be included in the generated events.If set to
falseloading of the message will be delayed until it is accessed through the event's message property.The default value is
false.- Parameter:
p_bLoadIncomingMessagesImmediately-trueif incoming messages should be loaded immediately, orfalseotherwise.
-