Package javaforce.webui.tasks
Class Task
java.lang.Object
java.lang.Thread
javaforce.webui.tasks.Task
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionintprotected booleanbooleanprotected longprotected longprotected longFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITYFields inherited from interface javaforce.webui.tasks.Status
null_status -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
ts_start
protected long ts_start -
ts_stop
protected long ts_stop -
ts_delta
protected long ts_delta -
running
protected boolean running -
percent
public int percent -
successful
public boolean successful -
action
-
result
-
tasks
-
taskui
-
-
Constructor Details
-
Task
-
-
Method Details
-
run
public final void run() -
doTask
public void doTask()Performs task in a thread. -
setResult
-
setStatus
-
setPercent
public void setPercent(int value) - Specified by:
setPercentin interfaceStatus
-
setResult
public void setResult(boolean result)
-