org.geotools.data.wps
Class WPSProcess
java.lang.Object
org.geotools.process.impl.AbstractProcess
org.geotools.data.wps.WPSProcess
- All Implemented Interfaces:
- Process
public class WPSProcess
- extends AbstractProcess
This is a representation of a process built from the WPSFactory class.
It is not a real process, but a representation of a process that can
be executed on the server, as described in the process' describeprocess.
- Author:
- GDavis
Method Summary |
java.util.Map<java.lang.String,java.lang.Object> |
execute(java.util.Map<java.lang.String,java.lang.Object> input,
org.opengis.util.ProgressListener monitor)
Since this is not a real process, but a representation of one,
this method doesn't actually execute the process. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WPSProcess
protected WPSProcess(ProcessFactory factory)
execute
public java.util.Map<java.lang.String,java.lang.Object> execute(java.util.Map<java.lang.String,java.lang.Object> input,
org.opengis.util.ProgressListener monitor)
- Since this is not a real process, but a representation of one,
this method doesn't actually execute the process. Instead it
builds a request to send to the server to execute the
process. The response is parsed and returned as a map just like
a process would return locally. The inputs are not validated, they are just
built and sent to the server in a request. If they result in a bad request,
the request system will handle the returned error.
- Parameters:
input
- the map of inputs to processmonitor
- currently this is not used for this process reprensentation but
it could be implemented in some form in the future.
- Returns:
- Map of results, (@see ProcessFactory for details), or null if canceled
Copyright © 1996-2010 Geotools. All Rights Reserved.