Package com.aquima.interactions.process
Class TaskExit
java.lang.Object
com.aquima.interactions.process.TaskExit
- All Implemented Interfaces:
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 Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
This method returns the exit type with the specified label.static TaskExit
forTypeWithLabel
(String taskExitType, String taskExitLabel) getLabel()
This method returns the label of the exit type.This method returns the name of the exit type.int
hashCode()
boolean
This method returns a boolean indicating if the exit represents an abort exit.boolean
This method returns a boolean indicating if the exit represents an cancel exit.boolean
This method returns a boolean indicating if the exit represents an (successful) complete exit.toString()
-
Field Details
-
ABORT_EXIT_NAME
- See Also:
-
CANCEL_EXIT_NAME
- See Also:
-
COMPLETE_EXIT_NAME
- See Also:
-
ABORT
This member defines the ABORT exit type. -
CANCEL
This member defines the CANCEL exit type. -
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
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
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
This method returns the name of the exit type.- Returns:
- The name of the exit type.
-
hashCode
public int hashCode() -
equals
-
toString
-
forTypeWithLabel
-