Enum Class ProcessStorageType
- All Implemented Interfaces:
Serializable,Comparable<ProcessStorageType>,Constable
Defines the valid storage types for process-related files, along with their business descriptions.
This enumeration is typically used as the source for the 'Process Storage' master data.
- 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 ConstantDescriptionFiles are stored within the Bonita BDM database and are retained indefinitely.Files are stored within the Bonita BDM database and are deleted upon process completion.Files are stored on the local application server where the process engine is deployed and are retained indefinitely.Files are stored on the local application server and are deleted upon process completion. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves all process instance states 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 business description of this storage type.getKey()Returns the unique string key associated with this storage type.static booleanChecks if a given string corresponds to a valid enum constant, ignoring case and leading/trailing spaces.static ProcessStorageTypeReturns the enum constant of this class with the specified name.static ProcessStorageType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOCAL
Files are stored on the local application server where the process engine is deployed and are retained indefinitely. -
LOCAL_AND_DELETE
Files are stored on the local application server and are deleted upon process completion. -
BONITA
Files are stored within the Bonita BDM database and are retained indefinitely. -
BONITA_AND_DELETE
Files are stored within the Bonita BDM database and are deleted upon process completion.
-
-
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 storage type.- Returns:
- The storage type key (e.g., "Local").
-
getDescription
Returns the business description of this storage type.- Returns:
- The 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,falseotherwise.
-
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
Retrieves all technical keys as a read-only List of Strings.- Returns:
- A list containing all technical keys.
-