Class WorkflowCycleUtils

java.lang.Object
fr.paris.lutece.plugins.workflow.utils.WorkflowCycleUtils

public class WorkflowCycleUtils extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static fr.paris.lutece.util.ErrorMessage
    detectCycle(List<fr.paris.lutece.plugins.workflowcore.business.state.State> listState, List<fr.paris.lutece.plugins.workflowcore.business.action.Action> listAction, Locale locale)
    Check if we have a loop of automatique action that lead to the same State

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • detectCycle

      public static fr.paris.lutece.util.ErrorMessage detectCycle(List<fr.paris.lutece.plugins.workflowcore.business.state.State> listState, List<fr.paris.lutece.plugins.workflowcore.business.action.Action> listAction, Locale locale)
      Check if we have a loop of automatique action that lead to the same State
      Parameters:
      listState - The State list of the workflow
      listAction - The action list of the workflow
      Returns:
      ErrorMessage