Class TaskInfoQueryWrapper

java.lang.Object
org.flowable.task.api.TaskInfoQueryWrapper

public class TaskInfoQueryWrapper extends Object
This is a helper class to help you work with the TaskInfoQuery, without having to care about the awful generics. Example usage:
 
 TaskInfoQueryWrapper taskInfoQueryWrapper = new TaskInfoQueryWrapper(taskService.createTaskQuery()); 
 List<? extends TaskInfo> taskInfos = taskInfoQueryWrapper.getTaskInfoQuery().or()
    .taskNameLike("%task%").taskDescriptionLike("%blah%").endOr().list();
 
 
First line can be switched to TaskInfoQueryWrapper taskInfoQueryWrapper = new TaskInfoQueryWrapper(historyService.createTaskQuery()); and the same methods can be used on the result.
Author:
Joram Barrez