|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.ow2.jasmine.probe.outers.JOuter
public abstract class JOuter
Outer instance. this abstract class should be derived in different forms, depending of the type of output: console, file, mule, etc... These implementations are in separate modules.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected java.text.SimpleDateFormat |
dateformat
Std format for the date. |
protected org.ow2.util.log.Log |
logger
logger used for outers |
protected static java.lang.String |
NAME_SEPARATOR
Separator used to construct data names from indicator name and result name. |
protected static java.lang.String |
SEPARATOR
CSV separator. |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
JOuter(org.ow2.jasmine.probe.JasmineOutput output)
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
composeName(java.lang.String indicatorName,
java.lang.String resultName)
|
abstract void |
processData(org.ow2.jasmine.probe.JasmineProbeResult result)
|
void |
publishData(org.ow2.jasmine.probe.JasmineProbeResult result)
Publish data on this Output |
void |
run()
run method for Thread implementation. |
protected boolean |
simpleDataName(java.lang.String name,
java.util.Collection<org.ow2.jasmine.probe.JasmineSingleResult> jsrs)
Check if simple name (the indicator's name) is to be published, or if the published name is to be composed from the indicator name and a simple result name. |
void |
stopIt()
stop the AbstractOuter |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected org.ow2.util.log.Log logger
protected static final java.lang.String SEPARATOR
protected static final java.lang.String NAME_SEPARATOR
protected java.text.SimpleDateFormat dateformat
| Constructor Detail |
|---|
public JOuter(org.ow2.jasmine.probe.JasmineOutput output)
| Method Detail |
|---|
public abstract void processData(org.ow2.jasmine.probe.JasmineProbeResult result)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void stopIt()
public void publishData(org.ow2.jasmine.probe.JasmineProbeResult result)
publishData in interface org.ow2.jasmine.probe.outer.JasmineOuterresult - data to publish
protected boolean simpleDataName(java.lang.String name,
java.util.Collection<org.ow2.jasmine.probe.JasmineSingleResult> jsrs)
name - the indicator namejsrs - the JasmineSingleResults of the indicator
protected java.lang.String composeName(java.lang.String indicatorName,
java.lang.String resultName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||