Class TaskExit

java.lang.Object
com.aquima.interactions.process.TaskExit
All Implemented Interfaces:
Serializable

public final class TaskExit extends Object implements Serializable
This class contains the information of the task exit that should be chosen after executing the task.
Since:
7.1
Author:
O. Kerpershoek
See Also:
  • Field Details

    • ABORT_EXIT_NAME

      public static final String ABORT_EXIT_NAME
      See Also:
    • CANCEL_EXIT_NAME

      public static final String CANCEL_EXIT_NAME
      See Also:
    • COMPLETE_EXIT_NAME

      public static final String COMPLETE_EXIT_NAME
      See Also:
    • ABORT

      public static final TaskExit ABORT
      This member defines the ABORT exit type.
    • CANCEL

      public static final TaskExit CANCEL
      This member defines the CANCEL exit type.
    • COMPLETE

      public static final TaskExit COMPLETE
      This member defines the COMPLETE exit type.
  • Method Details

    • isAbortExit

      public boolean isAbortExit()
      This method returns a boolean indicating if the exit represents an abort exit.
      Returns:
      boolean indicating if the exit represents an abort exit.
    • isCompleteExit

      public boolean isCompleteExit()
      This method returns a boolean indicating if the exit represents an (successful) complete exit.
      Returns:
      boolean indicating if the exit represents an complete exit.
    • isCancelExit

      public boolean isCancelExit()
      This method returns a boolean indicating if the exit represents an cancel exit.
      Returns:
      boolean indicating if the exit represents an cancel exit.
    • forLabel

      public TaskExit forLabel(String label)
      This method returns the exit type with the specified label.
      Parameters:
      label - The label that should be attached to the exit type.
      Returns:
      Exit type with the specified label.
    • getLabel

      public String getLabel()
      This method returns the label of the exit type. As the label is optional, this method may return null.
      Returns:
      the label of the exit type.
    • getTypeName

      public String getTypeName()
      This method returns the name of the exit type.
      Returns:
      The name of the exit type.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • forTypeWithLabel

      public static TaskExit forTypeWithLabel(String taskExitType, String taskExitLabel)