|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.SwingWorker<java.lang.String,java.lang.Void> IMPACT.ConTestTask
public class ConTestTask
Implementation of background task for ConTest execution.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.SwingWorker |
---|
javax.swing.SwingWorker.StateValue |
Method Summary | |
---|---|
protected java.lang.String |
doInBackground()
|
protected void |
done()
|
int |
getCurrent()
Get current value for display progress bar and/or monitor. |
java.lang.String |
getMessage(int fstsndall)
Get message that shows task status. |
java.lang.String |
getOutput()
Get output from terminated execution. |
boolean |
gotError()
Verify if task terminated with error. |
boolean |
isdone()
Verify if task has terminated. |
void |
stop()
Stop ConTest execution. |
Methods inherited from class javax.swing.SwingWorker |
---|
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected java.lang.String doInBackground()
doInBackground
in class javax.swing.SwingWorker<java.lang.String,java.lang.Void>
protected void done()
done
in class javax.swing.SwingWorker<java.lang.String,java.lang.Void>
public boolean isdone()
getCurrTimeM()
,
getCurrent()
public boolean gotError()
public java.lang.String getOutput()
public int getCurrent()
public java.lang.String getMessage(int fstsndall)
fstsndall
- indication of what message to get.
With value 1 gets Completed Task message
with value 2 gets Elapsed Time message
A diferent value gets both previous messages, where the second follows the first.
public void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |