Enum Class ActionParameterType
- All Implemented Interfaces:
Serializable,Comparable<ActionParameterType>,Constable
Defines the valid parameter keys for ActionContent.parameters configuration.
This enumeration provides a type-safe way to reference action parameters
used in process step actions, such as notifications, redirections, and assignments.
- Since:
- 1.0
- Author:
- Bonitasoft
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe number of days parameter for delay or scheduling actions.The enabled flag for action parameters.The number of hours parameter for delay or scheduling actions.The message body content for notification actions.The name identifier for the action parameter.The object parameter for action configuration.The recipients configuration object for notification actions.The list of membership identifiers for notification recipients.The list of specific email addresses for notification recipients.The step identifier used to resolve dynamic recipients.The type of recipients selection (e.g., static, dynamic, step-based).The list of user identifiers for notification recipients.The subject line for email notification actions.The target step reference for redirection or flow actions. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves all action parameters as a read-only Map where the key is the technical key and the value is the description.Retrieves all technical keys as a read-only List of Strings.Returns the description of this action parameter.getKey()Returns the unique string key associated with this action parameter.static booleanChecks if a given string corresponds to a valid enum constant, ignoring case and leading/trailing spaces.static ActionParameterTypeReturns the enum constant of this class with the specified name.static ActionParameterType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NAME
The name identifier for the action parameter. -
TARGET_STEP
The target step reference for redirection or flow actions. -
RECIPIENTS
The recipients configuration object for notification actions. -
RECIPIENTS_TYPE
The type of recipients selection (e.g., static, dynamic, step-based). -
RECIPIENTS_STEP_ID
The step identifier used to resolve dynamic recipients. -
MESSAGE
The message body content for notification actions. -
SUBJECT
The subject line for email notification actions. -
RECIPIENTS_SPECIFIC_EMAILS
The list of specific email addresses for notification recipients. -
RECIPIENTS_USER_IDS
The list of user identifiers for notification recipients. -
RECIPIENTS_MEMBERSHIP_IDS
The list of membership identifiers for notification recipients. -
ENABLED
The enabled flag for action parameters.Used to indicate whether an action or feature is enabled or disabled.
-
OBJECT
The object parameter for action configuration.Used to reference a generic object or entity associated with the action.
-
DAYS
The number of days parameter for delay or scheduling actions.Used to specify a duration in days for time-based actions.
-
HOURS
The number of hours parameter for delay or scheduling actions.Used to specify a duration in hours for time-based actions.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getKey
Returns the unique string key associated with this action parameter.- Returns:
- The parameter key (e.g., "targetStep", "recipients.type").
-
getDescription
Returns the description of this action parameter.- Returns:
- The human-readable description.
-
isValid
Checks if a given string corresponds to a valid enum constant, ignoring case and leading/trailing spaces.- Parameters:
input- The string to validate.- Returns:
trueif the string is a valid enum constant name,falseotherwise.
-
getAllData
Retrieves all action parameters as a read-only Map where the key is the technical key and the value is the description.- Returns:
- An unmodifiable map containing all parameter data (Key -> Description).
-
getAllKeysList
Retrieves all technical keys as a read-only List of Strings.- Returns:
- An unmodifiable list containing all parameter keys.
-