Class ProcessExit

java.lang.Object
com.aquima.interactions.process.ProcessExit

public class ProcessExit extends Object
This class represents an exit of a process. The exit definition exists out of an action and and exitstate (event).
Since:
9.1
Author:
A. Pragt
  • Constructor Details

  • Method Details

    • ok

      public static ProcessExit ok()
      This method will create a default exit.
      Returns:
      The created exit definition
    • ok

      public static ProcessExit ok(String exitState)
      This method will create an ok exit for the exitstate.
      Parameters:
      exitState - The exitstate of the exit (event)
      Returns:
      The created exit definition.
    • cancel

      public static ProcessExit cancel()
      This method will create a default cancel exit.
      Returns:
      The created exit definition
    • cancel

      public static ProcessExit cancel(String exitState)
      This method will create a cancel exit
      Parameters:
      exitState - (event) of the exit.
      Returns:
      The created exit definition
    • getAction

      public ExitAction getAction()
    • getExitState

      public String getExitState()