public abstract class AbstractFeatureCollectionProcessFactory extends SingleProcessFactory
Subclasses must implement:
ProcessFactory.getTitle()
   ProcessFactory#getDescription()
   addParameters(Map)
   | Modifier and Type | Field and Description | 
|---|---|
| static Parameter<FeatureCollection> | FEATURESFeatures for operation | 
| Constructor and Description | 
|---|
| AbstractFeatureCollectionProcessFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract void | addParameters(Map<String,Parameter<?>> parameters)Method for subclasses to add parameter descriptors for the process. | 
| Map<String,Parameter<?>> | getParameterInfo()Adds the  FEATURESparameter and then delegates toaddParameters(Map). | 
create, create, getDescription, getDescription, getImplementationHints, getNames, getParameterInfo, getResultInfo, getResultInfo, getTitle, getTitle, getVersion, getVersion, isAvailable, supportsProgress, supportsProgresspublic static final Parameter<FeatureCollection> FEATURES
public AbstractFeatureCollectionProcessFactory()
public final Map<String,Parameter<?>> getParameterInfo()
FEATURES parameter and then delegates to addParameters(Map).getParameterInfo in class SingleProcessFactoryprotected abstract void addParameters(Map<String,Parameter<?>> parameters)
Subclasses should not add a parameter for the input feature collection as this is done by the case class. Example implementation for a simple buffer example:
protected void addParameters(Map> parameters) { parameters.put(BUFFER.key, BUFFER); } 
Copyright © 1996–2019 Geotools. All rights reserved.