Package org.opennms.web.rest.v1
Class MinionRestService
- java.lang.Object
-
- org.opennms.web.rest.v1.OnmsRestService
-
- org.opennms.web.rest.v1.MinionRestService
-
@Component("minionRestService") public class MinionRestService extends OnmsRestService
-
-
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 MinionRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCount()
OnmsMinion
getMinion(String minionId)
String
getMinionProperty(String minionId, String key)
OnmsMinionCollection
getMinions(javax.ws.rs.core.UriInfo uriInfo)
-
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
-
getMinion
@Transactional public OnmsMinion getMinion(String minionId)
-
getCount
@Transactional public String getCount()
-
getMinions
@Transactional public OnmsMinionCollection getMinions(@Context javax.ws.rs.core.UriInfo uriInfo) throws ParseException
- Throws:
ParseException
-
-