|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LongTask
Interface used in time consuming operations launched in a seperate thread
Method Summary | |
---|---|
boolean |
exceptionThrown()
Deprecated. Indicates wheter the Long Task has thrown an exception |
java.lang.Exception |
getException()
Deprecated. Each exception which is cought during task execution will be returned by this method. |
int |
getProgress()
Deprecated. Get the current state of the executed task |
java.lang.Object |
getResult()
Deprecated. Return an object produced by the executed task. |
int |
getTaskLength()
Deprecated. Get the length of the task |
boolean |
isDone()
Deprecated. Tells whether am execuded task has been completed |
Method Detail |
---|
int getTaskLength()
int getProgress()
getTaskLength() is max size
boolean isDone()
java.lang.Object getResult()
boolean exceptionThrown()
true
if exception has been thrown, false
otherwisejava.lang.Exception getException()
|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |