Package me.legrange.services.monitor
Class StateEndpoint
- java.lang.Object
-
- me.legrange.services.monitor.StateEndpoint
-
@Path("") public class StateEndpoint extends Object- Author:
- gideon
-
-
Constructor Summary
Constructors Constructor Description StateEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getMonitors()ObjectgetSpecificState(String name, String variable)ObjectgetState(String name, boolean flatten)
-
-
-
Method Detail
-
getState
@GET @Path("/{name}") public Object getState(@PathParam("name") String name, @QueryParam("flatten") boolean flatten) throws ComponentException- Throws:
ComponentException
-
getSpecificState
@GET @Path("/{name}/{variable}") public Object getSpecificState(@PathParam("name") String name, @PathParam("variable") String variable) throws ComponentException- Throws:
ComponentException
-
-