Enum Class FlowActionType

java.lang.Object
java.lang.Enum<FlowActionType>
com.bonitasoft.processbuilder.enums.FlowActionType
All Implemented Interfaces:
Serializable, Comparable<FlowActionType>, Constable

public enum FlowActionType extends Enum<FlowActionType>
Defines the specific action types available for configuration within a process step, such as defining a form, setting up notifications, or establishing redirections.
Since:
1.0
Author:
Bonitasoft (Adapted)
  • Enum Constant Details

    • FORM

      public static final FlowActionType FORM
      Action related to defining the interface or data capture form for a step.
    • NOTIFICATIONS

      public static final FlowActionType NOTIFICATIONS
      Action related to setting up alerts, emails, or system notifications.
    • REDIRECTIONS

      public static final FlowActionType REDIRECTIONS
      Action related to defining post-task navigation and flow redirection.
    • REST_APIS

      public static final FlowActionType REST_APIS
      Action related to REST APIs configuration and execution.
  • Method Details

    • values

      public static FlowActionType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FlowActionType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getKey

      public String getKey()
      Gets the technical key of the flow action type, typically used for internal logic and data mapping.
      Returns:
      The technical key (lowercase).
    • getDescription

      public String getDescription()
      Gets a brief business description of the action type.
      Returns:
      The description for the user interface or documentation.
    • isValid

      public static boolean isValid(String input)
      Checks if a given string corresponds to a valid enum constant, ignoring case and leading/trailing spaces.
      Parameters:
      input - The string to validate.
      Returns:
      true if the string is a valid enum constant, false otherwise.
    • getAllData

      public static Map<String,String> getAllData()
      Retrieves all process instance states as a read-only Map where the key is the technical key and the value is the description.
      Returns:
      A map containing all process state data (Key -> Description).
    • getAllKeysList

      public static List<String> getAllKeysList()
      Retrieves all technical keys as a read-only List of Strings.
      Returns:
      A list containing all technical keys.