Class StateTransition


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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      java.lang.String getPathName()
      Builds and returns a string representation of the path name.
      int getStateAfter()
      Returns the identifier of the next state.
      int getStateBefore()
      Returns the identifier of the previous state.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.