org.gcube.data.analysis.tabulardata.operation.worker
Class Worker
java.lang.Object
java.util.Observable
org.gcube.data.analysis.tabulardata.operation.worker.Worker
- All Implemented Interfaces:
- Runnable
public abstract class Worker
- extends Observable
- implements Runnable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Worker
public Worker(OperationInvocation sourceInvocation)
updateProgress
protected void updateProgress(float progress)
execute
protected abstract WorkerResult execute()
throws WorkerException
- Throws:
WorkerException
run
public void run()
- Specified by:
run in interface Runnable
getProgress
public float getProgress()
getException
public WorkerException getException()
getResult
public WorkerResult getResult()
getStatus
public WorkerStatus getStatus()
getSourceInvocation
public OperationInvocation getSourceInvocation()
Copyright © 2013. All Rights Reserved.