Class MaildirWorkflowEventSource

    • Constructor Detail

      • MaildirWorkflowEventSource

        public MaildirWorkflowEventSource​(String p_strGuid)
    • Method Detail

      • getClusterInfo

        public de.uplanet.lucy.server.workflow.IClusterInfo getClusterInfo()
        Specified by:
        getClusterInfo in interface de.uplanet.lucy.server.workflow.INeedClusterInfo
      • setClusterInfo

        public void setClusterInfo​(de.uplanet.lucy.server.workflow.IClusterInfo p_clusterInfo)
        Specified by:
        setClusterInfo in interface de.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.
        Returns:
        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.
        Parameters:
        p_lDispatchDelay - The dispatch delay.
      • getWatchedDirectory

        public String getWatchedDirectory()
        Get the watched directory.
        Returns:
        The watched directory.
      • setWatchedDirectory

        public void setWatchedDirectory​(String p_strPath)
        Set the watched directory.
        Parameters:
        p_strPath - The directory to be watched.
      • setSendAfterStopEvent

        public void setSendAfterStopEvent​(boolean p_bSendAfterStopEvent)
        This property determines if an IAfterStopWatchMaildirWorkflowEvent should be sent.
        Specified by:
        setSendAfterStopEvent in interface ISupportAfterStopEvent
        Parameters:
        p_bSendAfterStopEvent - true if the event should be sent after the workflow object's activity has been stopped, or false otherwise.
      • 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.

        Returns:
        true if dotted file system objects should be ignored, or false otherwise.
      • 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.

        Parameters:
        p_bIgnoreDottedMaildirObjects - true if dotted file system objects should be ignored, or false otherwise.
      • isLoadIncomingMessagesImmediately

        public boolean isLoadIncomingMessagesImmediately()
        This property determines if incoming messages should be loaded immediately and be included in the generated events.

        If set to false loading of the message will be delayed until it is accessed through the event's message property.

        The default value is false.

        Returns:
        true if incoming messages should be loaded immediately, or false otherwise.
      • 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 false loading of the message will be delayed until it is accessed through the event's message property.

        The default value is false.

        Parameters:
        p_bLoadIncomingMessagesImmediately - true if incoming messages should be loaded immediately, or false otherwise.
      • isGlobalSharedState

        public boolean isGlobalSharedState()
        This property determines if a global shared state should be used for all events created by this event source.
        Specified by:
        isGlobalSharedState in interface ISupportGlobalSharedState
        Returns:
        true if a global shared state should be used, or false otherwise.
      • setGlobalSharedState

        public void setGlobalSharedState​(boolean p_bGlobalSharedState)
        This property determines if a global shared state should be used for all events created by this event source.
        Specified by:
        setGlobalSharedState in interface ISupportGlobalSharedState
        Parameters:
        p_bGlobalSharedState - true if a global shared state should be used, or false otherwise.