public abstract class Worker extends Observable implements Runnable
| Constructor and Description |
|---|
Worker(OperationInvocation sourceInvocation) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract WorkerResult |
execute() |
WorkerException |
getException() |
float |
getProgress() |
WorkerResult |
getResult() |
OperationInvocation |
getSourceInvocation() |
WorkerStatus |
getStatus() |
void |
run() |
protected void |
updateProgress(float progress) |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic Worker(OperationInvocation sourceInvocation)
protected void updateProgress(float progress)
protected abstract WorkerResult execute() throws WorkerException
WorkerExceptionpublic float getProgress()
public WorkerException getException()
public WorkerResult getResult()
public WorkerStatus getStatus()
public OperationInvocation getSourceInvocation()
Copyright © 2014. All Rights Reserved.