@Path(value="/cluster/jobs") public class ClusterSystemJobResource extends ProxiedResource
authenticationToken, nodeService, remoteInterfaceProviderobjectMapper, userService| Constructor and Description |
|---|
ClusterSystemJobResource(NodeService nodeService,
RemoteInterfaceProvider remoteInterfaceProvider,
javax.ws.rs.core.HttpHeaders httpHeaders) |
| Modifier and Type | Method and Description |
|---|---|
SystemJobSummary |
cancelJob(String jobId) |
SystemJobSummary |
getJob(String jobId) |
Map<String,Optional<Map<String,List<SystemJobSummary>>>> |
list() |
createRemoteInterfaceProvider, getForAllNodes, getForAllNodescheckAnyPermission, checkPermission, checkPermission, getCurrentUser, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public ClusterSystemJobResource(NodeService nodeService, RemoteInterfaceProvider remoteInterfaceProvider, @Context javax.ws.rs.core.HttpHeaders httpHeaders) throws NodeNotFoundException
NodeNotFoundException@GET @Timed @Produces(value="application/json") public Map<String,Optional<Map<String,List<SystemJobSummary>>>> list() throws IOException
IOException@GET
@Path(value="{jobId}")
@Timed
@Produces(value="application/json")
public SystemJobSummary getJob(@PathParam(value="jobId")
String jobId)
throws IOException
IOException@DELETE
@Path(value="{jobId}")
@Timed
@Produces(value="application/json")
public SystemJobSummary cancelJob(@PathParam(value="jobId") @NotEmpty
String jobId)
throws IOException
IOExceptionCopyright © 2012-2016 Graylog, Inc.. All Rights Reserved.