@Override
            protected void exec(final Range range,
                                final Consumer<JobNodeAndInfoListResponse> dataConsumer,
                                final RestErrorHandler errorHandler) {
                // We want the
                findJobNodeCriteria.setSort(FindJobNodeCriteria.FIELD_ADVANCED);
                findJobNodeCriteria.addSort(FindJobNodeCriteria.FIELD_JOB_NAME);
                // ON is show enabled only, OFF is show all states
                findJobNodeCriteria.setJobNodeEnabled(showEnabledToggleBtn.isOn()
                        ? true
                        : null);
                restFactory
                        .create(JOB_NODE_RESOURCE)
                        .method(resource ->
                                resource.find(findJobNodeCriteria))
                        .onSuccess(dataConsumer)
                        .onFailure(errorHandler)
//                        .onFailure(error -> {
//                            changeData(new JobNodeAndInfoListResponse(Collections.emptyList()));
//                            errorHandler.onError(error);
//                        })
                        .taskMonitorFactory(view)
                        .exec();
            }
Bottom pane of NodePresenter (Nodes tab). Lists jobNodes for a single node.
stroom-core-client/src/main/java/stroom/node/client/presenter/NodeJobListPresenter.java