@Component(value="onmsMonitoredServiceResource") @Transactional public class OnmsMonitoredServiceResource extends OnmsRestService
OnmsMonitoredServiceResource class.
OnmsRestService.ComparisonOperation
DEFAULT_LIMIT
Constructor and Description |
---|
OnmsMonitoredServiceResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addService(javax.ws.rs.core.UriInfo uriInfo,
String nodeCriteria,
String ipAddress,
OnmsMonitoredService service)
addService
|
javax.ws.rs.core.Response |
deleteService(String nodeCriteria,
String ipAddress,
String serviceName)
deleteService
|
OnmsMonitoredService |
getService(String nodeCriteria,
String ipAddress,
String service)
getService
|
OnmsMonitoredServiceList |
getServices(String nodeCriteria,
String ipAddress)
getServices
|
javax.ws.rs.core.Response |
updateService(javax.ws.rs.core.UriInfo uriInfo,
String nodeCriteria,
String ipAddress,
String serviceName,
MultivaluedMapImpl params)
updateService
|
applyQueryFilters, applyQueryFilters, getBadRequestResponse, getBeanWrapperForClass, getException, getException, getNumericValue, getRedirectUri, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlock
@GET @Produces(value={"application/xml","application/json"}) public OnmsMonitoredServiceList getServices(@PathParam(value="nodeCriteria") String nodeCriteria, @PathParam(value="ipAddress") String ipAddress)
getServices
nodeCriteria
- a String
object.ipAddress
- a String
object.OnmsMonitoredServiceList
object.@GET @Produces(value={"application/xml","application/json"}) @Path(value="{service}") public OnmsMonitoredService getService(@PathParam(value="nodeCriteria") String nodeCriteria, @PathParam(value="ipAddress") String ipAddress, @PathParam(value="service") String service)
getService
nodeCriteria
- a String
object.ipAddress
- a String
object.service
- a String
object.OnmsMonitoredService
object.@POST @Consumes(value="application/xml") public javax.ws.rs.core.Response addService(@Context javax.ws.rs.core.UriInfo uriInfo, @PathParam(value="nodeCriteria") String nodeCriteria, @PathParam(value="ipAddress") String ipAddress, OnmsMonitoredService service)
addService
nodeCriteria
- a String
object.ipAddress
- a String
object.service
- a OnmsMonitoredService
object.Response
object.@PUT @Consumes(value="application/x-www-form-urlencoded") @Path(value="{service}") public javax.ws.rs.core.Response updateService(@Context javax.ws.rs.core.UriInfo uriInfo, @PathParam(value="nodeCriteria") String nodeCriteria, @PathParam(value="ipAddress") String ipAddress, @PathParam(value="service") String serviceName, MultivaluedMapImpl params)
updateService
nodeCriteria
- a String
object.ipAddress
- a String
object.serviceName
- a String
object.params
- a MultivaluedMapImpl
object.Response
object.Copyright © 2016. All rights reserved.