|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.unex.sextante.core.ProcessTask
public class ProcessTask
This task processes a geoalgorithm
Constructor Summary | |
---|---|
ProcessTask(GeoAlgorithm algorithm,
OutputFactory outputFactory,
ITaskMonitor taskMonitor)
Creates a new process task |
Method Summary | |
---|---|
java.lang.Boolean |
call()
Starts the execution of the task |
boolean |
isCanceled()
Returns true if the task has been canceled |
boolean |
isFinished()
Returns true if the task has been finished |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcessTask(GeoAlgorithm algorithm, OutputFactory outputFactory, ITaskMonitor taskMonitor)
algorithm
- the algorithm to processoutputFactory
- the output factory to use for executing the
algorithmtaskMonitor
- the task monitor to use for monitoring algorithm
executionMethod Detail |
---|
public java.lang.Boolean call() throws GeoAlgorithmExecutionException
call
in interface java.util.concurrent.Callable<java.lang.Boolean>
GeoAlgorithmExecutionException
- if there were problems
during algorithm executionpublic boolean isCanceled()
isCanceled
in interface IMonitorableTask
public boolean isFinished()
isFinished
in interface IMonitorableTask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |