Class StateTransition
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.business.workflowcycledetector.StateTransition
-
public class StateTransition extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddTransitionFromAction(java.util.List<StateTransition> list, fr.paris.lutece.plugins.workflowcore.business.action.Action action)Adds state transitions (StateTransition) to the given on the provided Action.java.lang.StringgetPathName()Builds and returns a string representation of the path name.intgetStateAfter()Returns the identifier of the next state.intgetStateBefore()Returns the identifier of the previous state.
-
-
-
Method Detail
-
addTransitionFromAction
public static void addTransitionFromAction(java.util.List<StateTransition> list, fr.paris.lutece.plugins.workflowcore.business.action.Action action)
Adds state transitions (StateTransition) to the given on the provided Action.- Parameters:
list- The list of existing StateTransition objects.action- The Action object containing state transition details.
-
getPathName
public java.lang.String getPathName()
Builds and returns a string representation of the path name.- Returns:
- A string representation of the path name.
-
getStateBefore
public int getStateBefore()
Returns the identifier of the previous state.- Returns:
- The ID of the state before the current transition.
-
getStateAfter
public int getStateAfter()
Returns the identifier of the next state.- Returns:
- The ID of the state after the current transition.
-
-