@Path(value="/streams/{streamId}/alerts/conditions")
public class StreamAlertConditionResource
extends RestResource
objectMapper, serverStatus, userService| Constructor and Description |
|---|
StreamAlertConditionResource(StreamService streamService,
AlertService alertService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
create(String streamid,
String body) |
javax.ws.rs.core.Response |
delete(String streamid,
String conditionId) |
javax.ws.rs.core.Response |
list(String streamid) |
javax.ws.rs.core.Response |
update(String streamid,
String conditionid,
String body) |
buildHistogramMap, buildMeterMap, buildTimerMap, bytesToValueMap, checkPermission, checkPermission, getCurrentUser, getSubject, guessContentType, isPermitted, isPermitted, json, loadObjectId, page, restrictToMaster, setPrettyPrint@Inject public StreamAlertConditionResource(StreamService streamService, AlertService alertService)
@POST
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response create(@PathParam(value="streamId")
String streamid,
String body)
@PUT
@Path(value="{conditionId}")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response update(@PathParam(value="streamId")
String streamid,
@PathParam(value="conditionId")
String conditionid,
String body)
@GET
@Produces(value="application/json")
public javax.ws.rs.core.Response list(@PathParam(value="streamId")
String streamid)
Copyright © 2012–2014 TORCH GmbH. All rights reserved.