public class JobServicesClientImpl extends AbstractKieServicesClientImpl implements JobServicesClient
baseURI, BYPASS_AUTH_USER, classLoader, config, marshaller, owner
Constructor and Description |
---|
JobServicesClientImpl(KieServicesConfiguration config) |
JobServicesClientImpl(KieServicesConfiguration config,
ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
void |
cancelRequest(long requestId) |
org.kie.server.api.model.instance.RequestInfoInstance |
getRequestById(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> |
getRequestsByCommand(String command,
Integer page,
Integer pageSize) |
List<org.kie.server.api.model.instance.RequestInfoInstance> |
getRequestsByStatus(List<String> statuses,
Integer page,
Integer pageSize) |
void |
requeueRequest(long requestId) |
Long |
scheduleRequest(org.kie.server.api.model.instance.JobRequestInstance jobRequest) |
Long |
scheduleRequest(String containerId,
org.kie.server.api.model.instance.JobRequestInstance jobRequest) |
buildQueryString, checkResultType, createExceptionForUnexpectedResponseCode, deserialize, executeJmsCommand, executeJmsCommand, executeJmsCommand, executeJmsCommand, getAdditionalParams, getConversationId, getHeaders, getMediaType, getMessage, getPagingQueryString, getResponseHandler, getUserAndAdditionalParam, getUserAndAdditionalParams, getUserAndPagingQueryString, getUserQueryStr, initializeURI, 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, throwExceptionOnFailure
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setResponseHandler
public JobServicesClientImpl(KieServicesConfiguration config)
public JobServicesClientImpl(KieServicesConfiguration config, ClassLoader classLoader)
public Long scheduleRequest(org.kie.server.api.model.instance.JobRequestInstance jobRequest)
scheduleRequest
in interface JobServicesClient
public Long scheduleRequest(String containerId, org.kie.server.api.model.instance.JobRequestInstance jobRequest)
scheduleRequest
in interface JobServicesClient
public void cancelRequest(long requestId)
cancelRequest
in interface JobServicesClient
public void requeueRequest(long requestId)
requeueRequest
in interface JobServicesClient
public List<org.kie.server.api.model.instance.RequestInfoInstance> getRequestsByStatus(List<String> statuses, Integer page, Integer pageSize)
getRequestsByStatus
in interface JobServicesClient
public List<org.kie.server.api.model.instance.RequestInfoInstance> getRequestsByBusinessKey(String businessKey, Integer page, Integer pageSize)
getRequestsByBusinessKey
in interface JobServicesClient
public List<org.kie.server.api.model.instance.RequestInfoInstance> getRequestsByCommand(String command, Integer page, Integer pageSize)
getRequestsByCommand
in interface JobServicesClient
public org.kie.server.api.model.instance.RequestInfoInstance getRequestById(Long requestId, boolean withErrors, boolean withData)
getRequestById
in interface JobServicesClient
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.