|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread org.bibalex.daf.managers.phase.ProgressDialog.JobStateStarter
private class ProgressDialog.JobStateStarter
Starts a ceratin JobState by applying its actions.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
private java.lang.String |
errorMessage
|
private boolean |
result
|
private JobState |
state
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
ProgressDialog.JobStateStarter(JobState state)
Creates a new JobStateStarter. |
Method Summary | |
---|---|
java.lang.String |
getErrorMessage()
Gets the error message to be displayed to the user . Note: This method must be called after the thread finishes its job. |
boolean |
getResult()
Gets the result of applying the state actions. Note: This method must be called after the thread finishes its job. |
void |
run()
Applies the state actions. |
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 |
---|
private JobState state
private boolean result
private java.lang.String errorMessage
Constructor Detail |
---|
public ProgressDialog.JobStateStarter(JobState state)
state
- The JobState to start.Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public boolean getResult()
public java.lang.String getErrorMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |