public class ExternalTaskRestServiceImpl extends AbstractRestProcessEngineAware implements ExternalTaskRestService
objectMapper, relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
ExternalTaskRestServiceImpl(String processEngine,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
protected List<ExternalTask> |
executePaginatedQuery(ExternalTaskQuery query,
Integer firstResult,
Integer maxResults) |
List<LockedExternalTaskDto> |
fetchAndLock(FetchExternalTasksDto fetchingDto) |
ExternalTaskResource |
getExternalTask(String externalTaskId) |
List<ExternalTaskDto> |
getExternalTasks(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults) |
CountResultDto |
getExternalTasksCount(javax.ws.rs.core.UriInfo uriInfo) |
List<ExternalTaskDto> |
queryExternalTasks(ExternalTaskQueryDto queryDto,
Integer firstResult,
Integer maxResults) |
CountResultDto |
queryExternalTasksCount(ExternalTaskQueryDto queryDto) |
void |
setRetries(SetRetriesForExternalTasksDto retriesDto) |
BatchDto |
setRetriesAsync(SetRetriesForExternalTasksDto retriesDto) |
protected UpdateExternalTaskRetriesBuilder |
updateRetries(SetRetriesForExternalTasksDto retriesDto) |
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public ExternalTaskRestServiceImpl(String processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public List<ExternalTaskDto> getExternalTasks(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
getExternalTasks
in interface ExternalTaskRestService
public List<ExternalTaskDto> queryExternalTasks(ExternalTaskQueryDto queryDto, Integer firstResult, Integer maxResults)
queryExternalTasks
in interface ExternalTaskRestService
protected List<ExternalTask> executePaginatedQuery(ExternalTaskQuery query, Integer firstResult, Integer maxResults)
public CountResultDto getExternalTasksCount(javax.ws.rs.core.UriInfo uriInfo)
getExternalTasksCount
in interface ExternalTaskRestService
public CountResultDto queryExternalTasksCount(ExternalTaskQueryDto queryDto)
queryExternalTasksCount
in interface ExternalTaskRestService
public List<LockedExternalTaskDto> fetchAndLock(FetchExternalTasksDto fetchingDto)
fetchAndLock
in interface ExternalTaskRestService
public ExternalTaskResource getExternalTask(String externalTaskId)
getExternalTask
in interface ExternalTaskRestService
public BatchDto setRetriesAsync(SetRetriesForExternalTasksDto retriesDto)
setRetriesAsync
in interface ExternalTaskRestService
public void setRetries(SetRetriesForExternalTasksDto retriesDto)
setRetries
in interface ExternalTaskRestService
protected UpdateExternalTaskRetriesBuilder updateRetries(SetRetriesForExternalTasksDto retriesDto)
Copyright © 2022. All rights reserved.