org.geotools.process.impl
Class SimpleProcess
Object
AbstractProcess
SimpleProcess
- All Implemented Interfaces:
- Process
public abstract class SimpleProcess
- extends AbstractProcess
Provide an implementation for a simple process (ie so quick and easy it
is not going to need to report progress as it goes).
- Author:
- gdavis
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
input
protected Map<String,Object> input
result
protected Map<String,Object> result
SimpleProcess
protected SimpleProcess(ProcessFactory factory)
execute
public final Map<String,Object> execute(Map<String,Object> input,
ProgressListener monitor)
- Description copied from interface:
Process
- 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
process
public abstract void process()
throws Exception
- Implement your own process here.
- Throws:
Exception
get
protected Object get(String key)
Copyright © 1996-2014 Geotools. All Rights Reserved.