@Path(value="/system/jobs") public class SystemJobResource extends RestResource
objectMapper, serverStatus, userService| Constructor and Description |
|---|
SystemJobResource(SystemJobFactory systemJobFactory,
SystemJobManager systemJobManager) |
| Modifier and Type | Method and Description |
|---|---|
String |
get(String jobId) |
String |
list() |
javax.ws.rs.core.Response |
trigger(String body) |
buildHistogramMap, buildMeterMap, buildTimerMap, bytesToValueMap, checkPermission, checkPermission, getCurrentUser, getSubject, guessContentType, isPermitted, isPermitted, json, loadObjectId, page, restrictToMaster, setPrettyPrint@Inject public SystemJobResource(SystemJobFactory systemJobFactory, SystemJobManager systemJobManager)
@GET @Produces(value="application/json") public String list()
@GET
@Path(value="/{jobId}")
@Produces(value="application/json")
public String get(@PathParam(value="jobId")
String jobId)
@POST @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response trigger(String body)
Copyright © 2012–2014 TORCH GmbH. All rights reserved.