public class ExternalTaskRestServiceImpl extends AbstractRestProcessEngineAware implements ExternalTaskRestService
objectMapper, relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
ExternalTaskRestServiceImpl(String processEngine,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
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 List<String> getTopicNames(boolean withLockedTasks, boolean withUnlockedTasks, boolean withRetriesLeft)
getTopicNames
in interface ExternalTaskRestService
public void setRetries(SetRetriesForExternalTasksDto retriesDto)
setRetries
in interface ExternalTaskRestService
protected UpdateExternalTaskRetriesBuilder updateRetries(SetRetriesForExternalTasksDto retriesDto)
Copyright © 2021. All rights reserved.