@Produces(value="application/json")
public interface JobDefinitionRestService
Modifier and Type | Method and Description |
---|---|
JobDefinitionResource |
getJobDefinition(String jobDefinitionId) |
List<JobDefinitionDto> |
getJobDefinitions(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults)
Exposes the
JobDefinitionQuery interface as a REST service. |
CountResultDto |
getJobDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo) |
List<JobDefinitionDto> |
queryJobDefinitions(JobDefinitionQueryDto queryDto,
Integer firstResult,
Integer maxResults) |
CountResultDto |
queryJobDefinitionsCount(JobDefinitionQueryDto queryDto) |
void |
updateSuspensionState(JobDefinitionSuspensionStateDto dto) |
static final String PATH
@Path(value="/{id}") JobDefinitionResource getJobDefinition(@PathParam(value="id") String jobDefinitionId)
@GET @Produces(value="application/json") List<JobDefinitionDto> getJobDefinitions(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
JobDefinitionQuery
interface as a REST service.uriInfo
- firstResult
- maxResults
- @POST @Consumes(value="application/json") @Produces(value="application/json") List<JobDefinitionDto> queryJobDefinitions(JobDefinitionQueryDto queryDto, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
@GET @Path(value="/count") @Produces(value="application/json") CountResultDto getJobDefinitionsCount(@Context javax.ws.rs.core.UriInfo uriInfo)
@POST @Path(value="/count") @Consumes(value="application/json") @Produces(value="application/json") CountResultDto queryJobDefinitionsCount(JobDefinitionQueryDto queryDto)
@PUT @Path(value="/suspended") @Consumes(value="application/json") void updateSuspensionState(JobDefinitionSuspensionStateDto dto)
Copyright © 2020. All rights reserved.