Class TaskInfoQueryWrapper

java.lang.Object
org.activiti.engine.task.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()); Listinvalid input: '<'? 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.