|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.factory.FactoryFinder
org.geotools.process.Processors
public class Processors
Factory and utility methods for ProcessExecutor
, and Process
classes defined in this package.
Defines static methods used to access the application's default process factory implementations.
Field Summary |
---|
Fields inherited from class org.geotools.factory.FactoryFinder |
---|
EMPTY_HINTS |
Method Summary | |
---|---|
static java.util.concurrent.Callable<java.util.Map<java.lang.String,java.lang.Object>> |
createCallable(Process process,
java.util.Map<java.lang.String,java.lang.Object> input)
Used to wrap a Process up as a Callable for use with an existing ExecutorService |
static Process |
createProcess(org.opengis.feature.type.Name name)
Look up an implementation of the named process on the classpath. |
static ProcessFactory |
createProcessFactory(org.opengis.feature.type.Name name)
Look up a Factory by name of a process it supports. |
static java.util.Map<java.lang.String,Parameter<?>> |
getParameterInfo(org.opengis.feature.type.Name name)
Look up an implementation of the named process on the classpath and describe the input parameter required. |
static java.util.Set<ProcessFactory> |
getProcessFactories()
Set of available ProcessFactory; each of which is responsible for one or more processes. |
static java.util.Map<java.lang.String,Parameter<?>> |
getResultInfo(org.opengis.feature.type.Name name,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Look up an implementation of the named process on the classpath and describe the expected results. |
static ProcessExecutor |
newProcessExecutor(int nThreads,
java.util.concurrent.ThreadFactory threadFactory)
|
Methods inherited from class org.geotools.factory.FactoryFinder |
---|
mergeSystemHints |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Set<ProcessFactory> getProcessFactories()
public static ProcessFactory createProcessFactory(org.opengis.feature.type.Name name)
name
- Name of the Process you wish to work with
public static Process createProcess(org.opengis.feature.type.Name name)
name
- Name of the Process to create
public static java.util.Map<java.lang.String,Parameter<?>> getParameterInfo(org.opengis.feature.type.Name name)
name
- Name of the Process
public static java.util.Map<java.lang.String,Parameter<?>> getResultInfo(org.opengis.feature.type.Name name, java.util.Map<java.lang.String,java.lang.Object> parameters)
Note the expected results are generated in part by the input parameters provided; this is to allow for processes where the output is controlled by the parameters (such as choosing a greyscale or color raster product; or choosing the version of GML produced etc...).
name
- Name of the Processparameters
-
public static java.util.concurrent.Callable<java.util.Map<java.lang.String,java.lang.Object>> createCallable(Process process, java.util.Map<java.lang.String,java.lang.Object> input)
public static ProcessExecutor newProcessExecutor(int nThreads, java.util.concurrent.ThreadFactory threadFactory)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |