@Test public void findTasksWithReadModeJms() { when(config.isRest()).thenReturn(false); Assertions.assertThatThrownBy(() -> runtimeClient.findTasks(FROM_TASK_ID, STATUS, FROM_LAST_MODIFICATION_DATE, PAGE, PAGE_SIZE, TaskInputVariablesReadMode.READ_FOR_ALL)) .hasMessage("JMS protocol is not implemented for this service."); }
@Override public TaskDataList findTasks(Long fromTaskId, List<String> status, LocalDateTime fromLastModificationDate, Integer page, Integer pageSize, TaskInputVariablesReadMode inputVariablesReadMode) { final Map<String, Object> params = TaskQueryParamsBuilder.builder() .fromTaskId(fromTaskId) .status(status) .fromLastModificationDate(fromLastModificationDate) .page(page) .pageSize(pageSize) .taskInputVariablesReadMode(inputVariablesReadMode) .build(); return executeFindTasksQuery(params); }
TaskAssigningRuntimeClientImpl extends AbstractKieServicesClientImpl implements TaskAssigningRuntimeClient { @Override public TaskDataList findTasks(Long fromTaskId, List<String> status, LocalDateTime fromLastModificationDate, Integer page, Integer pageSize, TaskInputVariablesReadMode inputVariablesReadMode) { final Map<String, Object> params = TaskQueryParamsBuilder.builder() .fromTaskId(fromTaskId) .status(status) .fromLastModificationDate(fromLastModificationDate) .page(page) .pageSize(pageSize) .taskInputVariablesReadMode(inputVariablesReadMode) .build(); return executeFindTasksQuery(params); } }
TaskAssigningRuntimeClientImpl extends AbstractKieServicesClientImpl implements TaskAssigningRuntimeClient { @Override public TaskDataList findTasks(Long fromTaskId, List<String> status, LocalDateTime fromLastModificationDate, Integer page, Integer pageSize, TaskInputVariablesReadMode inputVariablesReadMode) { final Map<String, Object> params = TaskQueryParamsBuilder.builder() .fromTaskId(fromTaskId) .status(status) .fromLastModificationDate(fromLastModificationDate) .page(page) .pageSize(pageSize) .taskInputVariablesReadMode(inputVariablesReadMode) .build(); return executeFindTasksQuery(params); } TaskAssigningRuntimeClientImpl(KieServicesConfiguration config);  TaskAssigningRuntimeClientImpl(KieServicesConfiguration config, ClassLoader classLoader); }
TaskAssigningRuntimeClientImpl extends AbstractKieServicesClientImpl implements TaskAssigningRuntimeClient { @Override public TaskDataList findTasks(Long fromTaskId, List<String> status, LocalDateTime fromLastModificationDate, Integer page, Integer pageSize, TaskInputVariablesReadMode inputVariablesReadMode) { final Map<String, Object> params = TaskQueryParamsBuilder.builder() .fromTaskId(fromTaskId) .status(status) .fromLastModificationDate(fromLastModificationDate) .page(page) .pageSize(pageSize) .taskInputVariablesReadMode(inputVariablesReadMode) .build(); return executeFindTasksQuery(params); } TaskAssigningRuntimeClientImpl(KieServicesConfiguration config);  TaskAssigningRuntimeClientImpl(KieServicesConfiguration config, ClassLoader classLoader); @Override PlanningExecutionResult executePlanning(PlanningItemList planningItemList, String userId); @Override TaskDataList findTasks(Long fromTaskId, List<String> status, LocalDateTime fromLastModificationDate,
                                  Integer page, Integer pageSize,
                                  TaskInputVariablesReadMode inputVariablesReadMode); @Override TaskDataList findTasks(Long fromTaskId, List<String> status, LocalDateTime fromLastModificationDate,
                                  Integer page, Integer pageSize); KieServicesConfiguration getConfig(); }
TaskAssigningRuntimeClientImpl extends AbstractKieServicesClientImpl implements TaskAssigningRuntimeClient { @Override public TaskDataList findTasks(Long fromTaskId, List<String> status, LocalDateTime fromLastModificationDate, Integer page, Integer pageSize, TaskInputVariablesReadMode inputVariablesReadMode) { final Map<String, Object> params = TaskQueryParamsBuilder.builder() .fromTaskId(fromTaskId) .status(status) .fromLastModificationDate(fromLastModificationDate) .page(page) .pageSize(pageSize) .taskInputVariablesReadMode(inputVariablesReadMode) .build(); return executeFindTasksQuery(params); } TaskAssigningRuntimeClientImpl(KieServicesConfiguration config);  TaskAssigningRuntimeClientImpl(KieServicesConfiguration config, ClassLoader classLoader); @Override PlanningExecutionResult executePlanning(PlanningItemList planningItemList, String userId); @Override TaskDataList findTasks(Long fromTaskId, List<String> status, LocalDateTime fromLastModificationDate,
                                  Integer page, Integer pageSize,
                                  TaskInputVariablesReadMode inputVariablesReadMode); @Override TaskDataList findTasks(Long fromTaskId, List<String> status, LocalDateTime fromLastModificationDate,
                                  Integer page, Integer pageSize); KieServicesConfiguration getConfig();  }