Class WorkflowCycleUtils


  • public class WorkflowCycleUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static fr.paris.lutece.util.ErrorMessage detectCycle​(java.util.List<fr.paris.lutece.plugins.workflowcore.business.state.State> listState, java.util.List<fr.paris.lutece.plugins.workflowcore.business.action.Action> listAction, java.util.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 Detail

      • detectCycle

        public static fr.paris.lutece.util.ErrorMessage detectCycle​(java.util.List<fr.paris.lutece.plugins.workflowcore.business.state.State> listState,
                                                                    java.util.List<fr.paris.lutece.plugins.workflowcore.business.action.Action> listAction,
                                                                    java.util.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