@Path(value="/system/jobs") public class SystemJobResource extends RestResource
userService
Constructor and Description |
---|
SystemJobResource(SystemJobFactory systemJobFactory,
SystemJobManager systemJobManager,
NodeId nodeId) |
Modifier and Type | Method and Description |
---|---|
SystemJobSummary |
cancel(@NotEmpty String jobId) |
SystemJobSummary |
get(@NotEmpty String jobId) |
Map<String,List<SystemJobSummary>> |
list() |
javax.ws.rs.core.Response |
trigger(@Valid @NotNull TriggerRequest tr) |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
@Inject public SystemJobResource(SystemJobFactory systemJobFactory, SystemJobManager systemJobManager, NodeId nodeId)
@GET @Timed @Produces(value="application/json") public Map<String,List<SystemJobSummary>> list()
@GET @Timed @Path(value="/{jobId}") @Produces(value="application/json") public SystemJobSummary get(@PathParam(value="jobId") @NotEmpty @NotEmpty String jobId)
@POST @Timed @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response trigger(@Valid @NotNull @Valid @NotNull TriggerRequest tr)
@DELETE @Timed @Path(value="/{jobId}") @Produces(value="application/json") public SystemJobSummary cancel(@PathParam(value="jobId") @NotEmpty @NotEmpty String jobId)
Copyright © 2012–2019 Graylog, Inc.. All rights reserved.