public interface ExternalTaskRestService
Modifier and Type | Method and Description |
---|---|
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 query,
Integer firstResult,
Integer maxResults) |
CountResultDto |
queryExternalTasksCount(ExternalTaskQueryDto query) |
void |
setRetries(SetRetriesForExternalTasksDto retriesDto) |
BatchDto |
setRetriesAsync(SetRetriesForExternalTasksDto retriesDto) |
static final String PATH
@GET @Produces(value="application/json") List<ExternalTaskDto> getExternalTasks(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
@POST @Consumes(value="application/json") @Produces(value="application/json") List<ExternalTaskDto> queryExternalTasks(ExternalTaskQueryDto query, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
@GET @Path(value="/count") @Produces(value="application/json") CountResultDto getExternalTasksCount(@Context javax.ws.rs.core.UriInfo uriInfo)
@POST @Path(value="/count") @Consumes(value="application/json") @Produces(value="application/json") CountResultDto queryExternalTasksCount(ExternalTaskQueryDto query)
@POST @Path(value="/fetchAndLock") @Consumes(value="application/json") @Produces(value="application/json") List<LockedExternalTaskDto> fetchAndLock(FetchExternalTasksDto fetchingDto)
@Path(value="/{id}") ExternalTaskResource getExternalTask(@PathParam(value="id") String externalTaskId)
@PUT @Path(value="/retries") @Consumes(value="application/json") void setRetries(SetRetriesForExternalTasksDto retriesDto)
@POST @Path(value="/retries-async") @Consumes(value="application/json") @Produces(value="application/json") BatchDto setRetriesAsync(SetRetriesForExternalTasksDto retriesDto)
Copyright © 2019. All rights reserved.