es.unex.sextante.gui.batch.nonFileBased
Class BatchProcessMonitorableTask

java.lang.Object
  extended by es.unex.sextante.gui.batch.nonFileBased.BatchProcessMonitorableTask
All Implemented Interfaces:
java.lang.Runnable

public class BatchProcessMonitorableTask
extends java.lang.Object
implements java.lang.Runnable

A task to execute a batch process.

Author:
volaya

Constructor Summary
BatchProcessMonitorableTask(GeoAlgorithm algorithm, java.util.ArrayList parameters, java.util.ArrayList outputs, GridExtent gridExtent, javax.swing.JDialog parent)
          Creates a new task
 
Method Summary
 void run()
          Runs the batch process
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchProcessMonitorableTask

public BatchProcessMonitorableTask(GeoAlgorithm algorithm,
                                   java.util.ArrayList parameters,
                                   java.util.ArrayList outputs,
                                   GridExtent gridExtent,
                                   javax.swing.JDialog parent)
Creates a new task

Parameters:
algorithm - the algorithm to execute
parameters - a list of maps, each one of them containing parameter values for each execution of the algorithm
outputs - a list of maps, each one of them containing output settings for each execution of the algorithm
gridExtent - the grid extent to use if the algorithm creates new raster layers
Method Detail

run

public void run()
Runs the batch process

Specified by:
run in interface java.lang.Runnable