java.lang.Object
fr.paris.lutece.plugins.workflow.business.workflowcycledetector.StateTransition

public class StateTransition extends Object
  • Method Details

    • addTransitionFromAction

      public static void addTransitionFromAction(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 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.