Package org.geotools.process
Interface Process
-
- All Known Subinterfaces:
RenderingProcess
- All Known Implementing Classes:
AbstractFeatureCollectionProcess,AbstractProcess,FeatureToFeatureProcess,SimpleProcess
public interface ProcessA Process that returns a result and reports progress. Implementors define a single method called execute that accepts the inputs to process and a ProgressListener.The Process interface is similar to
Callable, in that both are designed for classes whose instances are potentially executed by another thread. A Callable, however, does not report progress.The
Executorsclass contains utility methods to convert from other common forms to Callable classes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Object>execute(Map<String,Object> input, ProgressListener monitor)Execute this process with the provided inputs.
-
-
-
Method Detail
-
execute
Map<String,Object> execute(Map<String,Object> input, ProgressListener monitor) throws ProcessException
Execute this process with the provided inputs.- Parameters:
input- Input parameters for this processmonitor- listener for handling the progress of the process- Returns:
- Map of results, (@see ProcessFactory for details), or null if canceled
- Throws:
ProcessException
-
-