@Component(value="availabilityRestService")
@Path(value="availability")
@Transactional
@Produces(value={"application/xml","application/json","application/atom+xml"})
public class AvailabilityRestService
extends OnmsRestService
OnmsRestService.ComparisonOperationDEFAULT_LIMIT| Constructor and Description |
|---|
AvailabilityRestService() |
| Modifier and Type | Method and Description |
|---|---|
Category |
getCategory(String categoryName) |
AvailabilityNode |
getCategoryNode(String categoryName,
Long nodeId) |
NodeList |
getCategoryNodes(String categoryName) |
AvailabilityNode |
getNode(Integer nodeId) |
org.opennms.web.rest.v1.AvailabilityRestService.AvailabilityData |
getNodeAvailability() |
applyQueryFilters, applyQueryFilters, getBadRequestResponse, getBeanWrapperForClass, getException, getException, getNumericValue, getRedirectUri, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlock@GET public org.opennms.web.rest.v1.AvailabilityRestService.AvailabilityData getNodeAvailability()
@GET
@Path(value="/categories/{category}")
public Category getCategory(@PathParam(value="category")
String categoryName)
@GET
@Path(value="/categories/{category}/nodes")
public NodeList getCategoryNodes(@PathParam(value="category")
String categoryName)
@GET
@Path(value="/categories/{category}/nodes/{nodeId}")
public AvailabilityNode getCategoryNode(@PathParam(value="category")
String categoryName,
@PathParam(value="nodeId")
Long nodeId)
@GET
@Path(value="/nodes/{nodeId}")
public AvailabilityNode getNode(@PathParam(value="nodeId")
Integer nodeId)
Copyright © 2015. All rights reserved.