|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.probe.rest.impl.JTask
public class JTask
Task objects are used to keep data collected by probes (JasmineProbeResult) and transform this data into XML format. The transformed data is used by the JTasks singleton object that implements the GET /task REST commands. Data is set by dedicated "rest" typed outputs.
| Constructor Summary | |
|---|---|
JTask(String probeId,
String taskId)
|
|
| Method Summary | |
|---|---|
String |
composeName(org.ow2.jasmine.probe.JasmineIndicatorValue jiv,
String jsrName)
Compose name of value as in JOuter !! ***** TODO move this code to a common module **** |
protected List<JAXBElement<org.ow2.jasmine.probe.api.generated.JsrType>> |
getLastResult()
Used by the JTasks singleton to get data in XML format. |
String |
getTaskId()
|
void |
setLastResult(org.ow2.jasmine.probe.JasmineProbeResult result)
Used by the a dedicated "rest" output to set the probe's result into the task. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JTask(String probeId,
String taskId)
| Method Detail |
|---|
protected List<JAXBElement<org.ow2.jasmine.probe.api.generated.JsrType>> getLastResult()
public void setLastResult(org.ow2.jasmine.probe.JasmineProbeResult result)
setLastResult in interface Taskresult - the probe's result obtained at the last iteration.public String getTaskId()
getTaskId in interface Task
public String composeName(org.ow2.jasmine.probe.JasmineIndicatorValue jiv,
String jsrName)
jiv - jsrName - name of the JasmineSingleResult
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||