Features
-
Process Variables
- The library provides a way to construct a generic adapter for every process variable.
- The adapter contains variable type.
- The adapter can be applied in any context (
RuntimeService,TaskService,CaseService,DelegateExecution,DelegateTask,DelegateCaseExecution,VariableMap,LockedExternalTask). - The adapter offers methods to read, write, update and remove variable values.
- The adapter works for all types supported by Camunda BPM. This includes primitive types, object and container types (
List<T>,Set<T>,Map<K , V>). - The adapter supports global / local variables.
- The adapter allows a default value or null in case a variable is not set.
- The adapter support transient variables.
- Fluent API helper are available in order to set, remove or update multiple variables in the same context (
VariableMapBuilder,VariableReaderandGlobalVariableWriter).
-
Process Variable Guards
- Generic support for
VariableGuardfor evaluation of a list ofVariableConditions - Condition to check if variable exists.
- Condition to check if variable doesn't exist
- Condition to check if variable has a predefined value.
- Condition to check if variable has one of predefined values.
- Condition to check if variable matches condition specified by a custom function.
- Condition to check if variable matches provided regular expression.
- Condition to check if variable is a valid email address.
- Condition to check if variable is a valid UUID.
DefaultGuardTaskListenerto construct variable conditions guards easily.DefaultGuardExecutionListenerto construct variable conditions guards easily.
- Generic support for
-
Anti-Corruption-Layer
- Generic support for
AntiCorruptionLayerfor protection and influence of variable modification in signalling and message correlation. - Helper methods for the client to wrap variables in a transient carrier.
- Execution listener to handle
VariableGuard-based conditions andVariableMapTransformer-based modifications. - Task listener to handle
VariableGuard-based conditions andVariableMapTransformer-based modifications. - Factory methods to create
AntiCorruptionLayerwith aVariableGuard(seeCamundaBpmDataACL) - Factory methods to create
AntiCorruptionLayerwithout aVariableGuard(seeCamundaBpmDataMapper)
- Generic support for