Class WorkflowCycleUtils
java.lang.Object
fr.paris.lutece.plugins.workflow.utils.WorkflowCycleUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic fr.paris.lutece.util.ErrorMessagedetectCycle(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
-
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 workflowlistAction- The action list of the workflow- Returns:
- ErrorMessage
-