public class JobServicesClientImpl extends AbstractKieServicesClientImpl implements JobServicesClient
BYPASS_AUTH_USER, classLoader, config, loadBalancer, marshaller, owner| Constructor and Description |
|---|
JobServicesClientImpl(KieServicesConfiguration config) |
JobServicesClientImpl(KieServicesConfiguration config,
ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelRequest(long requestId) |
void |
cancelRequest(String containerId,
long requestId) |
org.kie.server.api.model.instance.RequestInfoInstance |
getRequestById(Long requestId,
boolean withErrors,
boolean withData) |
org.kie.server.api.model.instance.RequestInfoInstance |
getRequestById(String containerId,
Long requestId,
boolean withErrors,
boolean withData) |
List<org.kie.server.api.model.instance.RequestInfoInstance> |
getRequestsByBusinessKey(String businessKey,
Integer page,
Integer pageSize) |
List<org.kie.server.api.model.instance.RequestInfoInstance> |
getRequestsByBusinessKey(String businessKey,
List<String> statuses,
Integer page,
Integer pageSize) |
List<org.kie.server.api.model.instance.RequestInfoInstance> |
getRequestsByCommand(String command,
Integer page,
Integer pageSize) |
List<org.kie.server.api.model.instance.RequestInfoInstance> |
getRequestsByCommand(String command,
List<String> statuses,
Integer page,
Integer pageSize) |
List<org.kie.server.api.model.instance.RequestInfoInstance> |
getRequestsByContainer(String containerId,
List<String> statuses,
Integer page,
Integer pageSize) |
List<org.kie.server.api.model.instance.RequestInfoInstance> |
getRequestsByProcessInstance(Long processInstanceId,
List<String> statuses,
Integer page,
Integer pageSize) |
List<org.kie.server.api.model.instance.RequestInfoInstance> |
getRequestsByStatus(List<String> statuses,
Integer page,
Integer pageSize) |
void |
requeueRequest(long requestId) |
void |
requeueRequest(String containerId,
long requestId) |
Long |
scheduleRequest(org.kie.server.api.model.instance.JobRequestInstance jobRequest) |
Long |
scheduleRequest(String containerId,
org.kie.server.api.model.instance.JobRequestInstance jobRequest) |
void |
updateRequestData(long requestId,
String containerId,
Map<String,Object> data) |
buildQueryString, checkResultType, createExceptionForUnexpectedResponseCode, deserialize, encode, executeJmsCommand, executeJmsCommand, executeJmsCommand, executeJmsCommand, getAdditionalParams, getConversationId, getHeaders, getLoadBalancer, getMediaType, getMessage, getPagingQueryString, getResponseHandler, getSortingQueryString, getUserAndAdditionalParam, getUserAndAdditionalParams, getUserAndPagingQueryString, getUserQueryStr, initializeURI, invoke, makeBackwardCompatibleHttpPostRequestAndCreateServiceResponse, makeBackwardCompatibleHttpPostRequestAndCreateServiceResponse, makeHttpDeleteRequestAndCreateCustomResponse, makeHttpDeleteRequestAndCreateServiceResponse, makeHttpGetRequestAndCreateCustomResponse, makeHttpGetRequestAndCreateRawResponse, makeHttpGetRequestAndCreateRawResponse, makeHttpGetRequestAndCreateServiceResponse, makeHttpPostRequestAndCreateCustomResponse, makeHttpPostRequestAndCreateCustomResponse, makeHttpPostRequestAndCreateCustomResponse, makeHttpPostRequestAndCreateServiceResponse, makeHttpPostRequestAndCreateServiceResponse, makeHttpPostRequestAndCreateServiceResponse, makeHttpPostRequestAndCreateServiceResponse, makeHttpPutRequestAndCreateCustomResponse, makeHttpPutRequestAndCreateCustomResponse, makeHttpPutRequestAndCreateServiceResponse, makeHttpPutRequestAndCreateServiceResponse, newRequest, safeList, safeMap, sendTaskOperation, serialize, setOwner, setResponseHandler, shouldReturnWithNullResponse, throwExceptionOnFailureclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetResponseHandlerpublic JobServicesClientImpl(KieServicesConfiguration config)
public JobServicesClientImpl(KieServicesConfiguration config, ClassLoader classLoader)
public Long scheduleRequest(org.kie.server.api.model.instance.JobRequestInstance jobRequest)
scheduleRequest in interface JobServicesClientpublic Long scheduleRequest(String containerId, org.kie.server.api.model.instance.JobRequestInstance jobRequest)
scheduleRequest in interface JobServicesClientpublic void cancelRequest(long requestId)
cancelRequest in interface JobServicesClientpublic void cancelRequest(String containerId, long requestId)
cancelRequest in interface JobServicesClientpublic void updateRequestData(long requestId,
String containerId,
Map<String,Object> data)
updateRequestData in interface JobServicesClientpublic void requeueRequest(long requestId)
requeueRequest in interface JobServicesClientpublic void requeueRequest(String containerId, long requestId)
requeueRequest in interface JobServicesClientpublic List<org.kie.server.api.model.instance.RequestInfoInstance> getRequestsByStatus(List<String> statuses, Integer page, Integer pageSize)
getRequestsByStatus in interface JobServicesClientpublic List<org.kie.server.api.model.instance.RequestInfoInstance> getRequestsByBusinessKey(String businessKey, Integer page, Integer pageSize)
getRequestsByBusinessKey in interface JobServicesClientpublic List<org.kie.server.api.model.instance.RequestInfoInstance> getRequestsByBusinessKey(String businessKey, List<String> statuses, Integer page, Integer pageSize)
getRequestsByBusinessKey in interface JobServicesClientpublic List<org.kie.server.api.model.instance.RequestInfoInstance> getRequestsByCommand(String command, Integer page, Integer pageSize)
getRequestsByCommand in interface JobServicesClientpublic List<org.kie.server.api.model.instance.RequestInfoInstance> getRequestsByCommand(String command, List<String> statuses, Integer page, Integer pageSize)
getRequestsByCommand in interface JobServicesClientpublic List<org.kie.server.api.model.instance.RequestInfoInstance> getRequestsByContainer(String containerId, List<String> statuses, Integer page, Integer pageSize)
getRequestsByContainer in interface JobServicesClientpublic List<org.kie.server.api.model.instance.RequestInfoInstance> getRequestsByProcessInstance(Long processInstanceId, List<String> statuses, Integer page, Integer pageSize)
getRequestsByProcessInstance in interface JobServicesClientpublic org.kie.server.api.model.instance.RequestInfoInstance getRequestById(Long requestId, boolean withErrors, boolean withData)
getRequestById in interface JobServicesClientpublic org.kie.server.api.model.instance.RequestInfoInstance getRequestById(String containerId, Long requestId, boolean withErrors, boolean withData)
getRequestById in interface JobServicesClientCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.