Interface IWorkflowAction

    • Method Detail

      • getAfferentTransition

        WorkflowTransition getAfferentTransition()
        Get the afferent transition of this workflow action.
        Returns:
        The afferent transition (this is normally not null).
      • setAfferentTransition

        void setAfferentTransition​(WorkflowTransition p_wfTransition)
        Set the afferent transition of this workflow action.
        Parameters:
        p_wfTransition - The transition to be set.
      • getEfferentTransition

        WorkflowTransition getEfferentTransition()
        Get the efferent transition of this workflow action.
        Returns:
        The efferent transition, or null.
      • setEfferentTransition

        void setEfferentTransition​(WorkflowTransition p_wfTransition)
        Set the efferent transition of this workflow action.
        Parameters:
        p_wfTransition - The transition to be set.
      • process

        WorkflowTransition process​(IWorkflowEvent p_evt,
                                   de.uplanet.lucy.server.workflow.IWorkflowProcessingContext p_wfCtx,
                                   de.uplanet.lucy.server.IProcessingContext p_ctx)
                            throws InterruptedException,
                                   Exception
        Process a workflow event in the given context.

        Normally, a workflow action should return its efferent transition, regardless whether it is active, or not.

        Parameters:
        p_evt - The event to be processed.
        p_wfCtx - The workflow processing context.
        p_ctx - The processing context.
        Returns:
        The efferent transition, or null.
        Throws:
        InterruptedException - If processing of this action has been interrupted.
        Exception - If an error occurred.