Package org.opennms.web.rest.v1
Class AvailabilityRestService
- java.lang.Object
-
- org.opennms.web.rest.v1.OnmsRestService
-
- org.opennms.web.rest.v1.AvailabilityRestService
-
@Component("availabilityRestService") @Transactional public class AvailabilityRestService extends OnmsRestService
Basic Web Service using REST for Availability/RTC information.- Since:
- 15.0.2
- Author:
- Benjamin Reed
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.web.rest.v1.OnmsRestService
OnmsRestService.ComparisonOperation
-
-
Field Summary
-
Fields inherited from class org.opennms.web.rest.v1.OnmsRestService
DEFAULT_LIMIT
-
-
Constructor Summary
Constructors Constructor Description AvailabilityRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class org.opennms.web.rest.v1.OnmsRestService
applyQueryFilters, applyQueryFilters, getBadRequestResponse, getBeanWrapperForClass, getException, getException, getNumericValue, getRedirectUri, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlock
-
-
-
-
Method Detail
-
getNodeAvailability
public org.opennms.web.rest.v1.AvailabilityRestService.AvailabilityData getNodeAvailability()
-
getCategoryNode
public AvailabilityNode getCategoryNode(String categoryName, Long nodeId)
-
getNode
public AvailabilityNode getNode(Integer nodeId)
-
-