Interface FlowNodeState

    • Method Detail

      • getId

        int getId()
      • mustAddSystemComment

        boolean mustAddSystemComment​(SFlowNodeInstance flowNodeInstance)
        Return true if flowNodeInstance instance of SHumanTaskInstance
        Parameters:
        flowNodeInstance -
        Returns:
        true or false
        Since:
        6.0
      • getSystemComment

        java.lang.String getSystemComment​(SFlowNodeInstance flowNodeInstance)
        Add a system comment "User XYZ has XYZ(state change) task XYZ(task name)"
        Parameters:
        flowNodeInstance -
        Returns:
        system comment "User XYZ has XYZ(state change) task XYZ(task name)"
        Since:
        6.0
      • getName

        java.lang.String getName()
      • isStable

        boolean isStable()
        Returns:
        true if the state is stable a final state is stable
      • isTerminal

        boolean isTerminal()
        Checks whether the state is a terminal one.
        Returns:
        true is the state is a terminal one; false otherwise
      • getStateCategory

        SStateCategory getStateCategory()
        Get the state's category
        Returns:
        the state's category