Class VelocityWorkflowAction

    • Constructor Detail

      • VelocityWorkflowAction

        public VelocityWorkflowAction​(String p_strGuid)
    • Method Detail

      • getVelocityInputPath

        public String getVelocityInputPath()
        Get the path of the Velocity template.
        Returns:
        The path of the Velocity template.
      • setVelocityInputPath

        public void setVelocityInputPath​(String p_strVelocityInputPath)
        Set the path of the Velocity template.
        Parameters:
        p_strVelocityInputPath - The path of the Velocity template.
      • getOutputPath

        public String getOutputPath()
        Get the path of the output file.
        Returns:
        The path of the output file.
      • setOutputPath

        public void setOutputPath​(String p_strOutputPath)
        Set the path of the output file.
        Parameters:
        p_strOutputPath - The path of the output file.
      • getOutputEncoding

        public String getOutputEncoding()
        Get the output file encoding.
        Returns:
        The path of the output file.
      • setOutputEncoding

        public void setOutputEncoding​(String p_strOutputEncoding)
        Set the output file encoding.
        Parameters:
        p_strOutputEncoding - The output file encoding.
      • getSharedStateVariableName

        public String getSharedStateVariableName()
        Get the shared state variable name.
        Returns:
        The shared state variable name.
      • setSharedStateVariableName

        public void setSharedStateVariableName​(String p_strSharedStateVariableName)
        Set the shared state variable name.
        Parameters:
        p_strSharedStateVariableName - The shared state variable name.
      • process

        public WorkflowTransition process​(IWorkflowEvent p_evt,
                                          de.uplanet.lucy.server.workflow.IWorkflowProcessingContext p_wfCtx,
                                          de.uplanet.lucy.server.IProcessingContext p_ctx)
                                   throws Exception
        Description copied from interface: IWorkflowAction
        Process a workflow event in the given context.

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

        Specified by:
        process in interface IWorkflowAction
        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.