|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Probes
Root resource class for probes management. Contains methods to treat HTTP requests on "probe" resources.
| Field Summary | |
|---|---|
static String |
RESOURCE_NAME
|
static String |
START_ACTION
|
static String |
STOP_ACTION
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
changeProbe(ProbeConfType probeConf,
String probeId)
Process HTTP PUT requests having /probe/{id} URI and updated probe configuration in its body. |
javax.ws.rs.core.Response |
changeProbePeriod(String probeId,
String period)
Process HTTP PUT requests having /probe/{id}/period allowing to change a probe's period |
javax.ws.rs.core.Response |
createProbe(ProbeType probeDef)
Process HTTP POST requests having /probe URI and new probe definition in its body. |
javax.ws.rs.core.Response |
deleteDataTask(String probeId)
Process HTTP DELETE requests having /probe/{id}/data URI Removes the data task created for the probe |
javax.ws.rs.core.Response |
deleteProbe(String probeId)
Process HTTP DELETE requests having /probe/{id} URI Corresponds to probe-remove id |
javax.ws.rs.core.Response |
getDataTask(String probeId,
javax.ws.rs.core.UriInfo ui)
Process HTTP POST requests having /probe/{id}/data URI Creates a data task for this probe allowing to get collected results from this task. |
javax.ws.rs.core.Response |
getProbe(String probeId,
javax.ws.rs.core.UriInfo ui)
Process HTTP GET requests having /probe/{id} URI Corresponds to probe-list -n id |
javax.ws.rs.core.Response |
getProbes(javax.ws.rs.core.UriInfo ui)
Process HTTP GET requests having /probe URI Corresponds to probe-list command |
javax.ws.rs.core.Response |
setState(String probeId,
String actionName)
|
| Field Detail |
|---|
static final String RESOURCE_NAME
static final String START_ACTION
static final String STOP_ACTION
| Method Detail |
|---|
javax.ws.rs.core.Response getProbes(@Context
javax.ws.rs.core.UriInfo ui)
javax.ws.rs.core.Response getProbe(String probeId,
@Context
javax.ws.rs.core.UriInfo ui)
probeId -
javax.ws.rs.core.Response deleteProbe(String probeId)
probeId - javax.ws.rs.core.Response createProbe(ProbeType probeDef)
probeDef - new probe's definition
javax.ws.rs.core.Response changeProbe(ProbeConfType probeConf,
String probeId)
probeConf - the new configuration for the probeprobeId - the id of the probe to update
javax.ws.rs.core.Response changeProbePeriod(String probeId,
String period)
probeId - probe to changeperiod - updated period
javax.ws.rs.core.Response setState(String probeId,
String actionName)
probeName - actionName -
javax.ws.rs.core.Response getDataTask(String probeId,
@Context
javax.ws.rs.core.UriInfo ui)
probeId - javax.ws.rs.core.Response deleteDataTask(String probeId)
probeId -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||