|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcessFactory
Used to describe the parameters needed for a group of Process, and for creating a Process to use.
Method Summary | |
---|---|
Process |
create(org.opengis.feature.type.Name name)
Create a process for execution. |
org.opengis.util.InternationalString |
getDescription(org.opengis.feature.type.Name name)
Human readable description of the specified process |
java.util.Set<org.opengis.feature.type.Name> |
getNames()
The names (non human readable) that can be used to refer to the processes generated by this factory. |
java.util.Map<java.lang.String,Parameter<?>> |
getParameterInfo(org.opengis.feature.type.Name name)
Description of the Map parameter to use when executing. |
java.util.Map<java.lang.String,Parameter<?>> |
getResultInfo(org.opengis.feature.type.Name name,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Description of the results returned |
org.opengis.util.InternationalString |
getTitle()
Name suitable for display to end user. |
org.opengis.util.InternationalString |
getTitle(org.opengis.feature.type.Name name)
Human readable title suitable for display for the specified process |
java.lang.String |
getVersion(org.opengis.feature.type.Name name)
Return the version of the process |
boolean |
supportsProgress(org.opengis.feature.type.Name name)
It is up to the process implementors to implement progress on the task, this method is used to see if the process has progress monitoring implemented |
Methods inherited from interface org.geotools.factory.OptionalFactory |
---|
isAvailable |
Methods inherited from interface org.geotools.factory.Factory |
---|
getImplementationHints |
Method Detail |
---|
org.opengis.util.InternationalString getTitle()
java.util.Set<org.opengis.feature.type.Name> getNames()
This name is used to advertise the availability of a Process in a WPS; while the Title and Description will change depending on the users locale; this name will be consistent.
It is up to the implementor to ensure this name is unique
org.opengis.util.InternationalString getTitle(org.opengis.feature.type.Name name)
Please note that this title is *not* stable across locale; if you want to remember a ProcessFactory between runs please use getName (which is dependent on the implementor to guarantee uniqueness) or use the classname
name
- the process identifierorg.opengis.util.InternationalString getDescription(org.opengis.feature.type.Name name)
name
- the process whose description is to be returned
java.util.Map<java.lang.String,Parameter<?>> getParameterInfo(org.opengis.feature.type.Name name)
name
- the process identifier
Process create(org.opengis.feature.type.Name name)
name
- the process identifier
java.util.Map<java.lang.String,Parameter<?>> getResultInfo(org.opengis.feature.type.Name name, java.util.Map<java.lang.String,java.lang.Object> parameters) throws java.lang.IllegalArgumentException
name
- the process identifierparameters
- the parameters to be used
java.lang.IllegalArgumentException
boolean supportsProgress(org.opengis.feature.type.Name name)
name
- the process identifier
java.lang.String getVersion(org.opengis.feature.type.Name name)
name
- the process identifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |