TaskFilterExecutor¶
-
public class
TaskFilterExecutor
¶ The
TaskFilterExecutor
applies a list of filters in a #TaskContext
.- convertTo - convert a given value to a correct type,
- getFieldValue - get value of a field defined in the key from the given object,
- getTriggerKey - get value of a trigger event parameter,
- checkFilters - executed defined filters for a task,
- manipulate - executed the given manipulation on the given string value.
Methods¶
checkFilters¶
-
public boolean
checkFilters
(List<Filter> filters, LogicalOperator logicalOperator, TaskContext taskContext)¶ Checks whether task with the given context matches the given filters.
Parameters: - filters – the filters, null returns true
- logicalOperator – the logical operator
- taskContext – the task context, not null
Throws: - TaskHandlerException – if there were problems while handling task
Returns: true if the task matches the filters