org.n52.wps.ags
Class GenericAGSProcessDelegator
java.lang.Object
org.n52.wps.ags.GenericAGSProcessDelegator
- All Implemented Interfaces:
- IAlgorithm
public class GenericAGSProcessDelegator
- extends java.lang.Object
- implements IAlgorithm
|
Constructor Summary |
GenericAGSProcessDelegator(java.io.File workspace,
java.lang.String processID,
ToolParameter[] legacyParameters,
net.opengis.wps.x100.ProcessDescriptionType processDescription)
|
|
Method Summary |
protected void |
finalize()
|
net.opengis.wps.x100.ProcessDescriptionType |
getDescription()
|
java.util.List<java.lang.String> |
getErrors()
|
java.lang.Class<?> |
getInputDataType(java.lang.String id)
|
java.lang.Class<?> |
getOutputDataType(java.lang.String id)
|
java.lang.String |
getWellKnownName()
Returns some well-known name for the process. |
boolean |
processDescriptionIsValid()
Checks if the processDescription complies to the process itself and fits any schema or other dependencies. |
java.util.Map<java.lang.String,IData> |
run(java.util.Map<java.lang.String,java.util.List<IData>> inputData)
|
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parameterDescriptions
protected final ToolParameter[] parameterDescriptions
GenericAGSProcessDelegator
public GenericAGSProcessDelegator(java.io.File workspace,
java.lang.String processID,
ToolParameter[] legacyParameters,
net.opengis.wps.x100.ProcessDescriptionType processDescription)
getDescription
public net.opengis.wps.x100.ProcessDescriptionType getDescription()
- Specified by:
getDescription in interface IAlgorithm
getErrors
public java.util.List<java.lang.String> getErrors()
- Specified by:
getErrors in interface IAlgorithm
getInputDataType
public java.lang.Class<?> getInputDataType(java.lang.String id)
- Specified by:
getInputDataType in interface IAlgorithm
getOutputDataType
public java.lang.Class<?> getOutputDataType(java.lang.String id)
- Specified by:
getOutputDataType in interface IAlgorithm
getWellKnownName
public java.lang.String getWellKnownName()
- Description copied from interface:
IAlgorithm
- Returns some well-known name for the process.
- Specified by:
getWellKnownName in interface IAlgorithm
- Returns:
- Returns some well-known name for the process or algorithm
if that exists, else returns an empty String, never null.
processDescriptionIsValid
public boolean processDescriptionIsValid()
- Description copied from interface:
IAlgorithm
- Checks if the processDescription complies to the process itself and fits any schema or other dependencies.
- Specified by:
processDescriptionIsValid in interface IAlgorithm
run
public java.util.Map<java.lang.String,IData> run(java.util.Map<java.lang.String,java.util.List<IData>> inputData)
- Specified by:
run in interface IAlgorithm
finalize
protected void finalize()
- Overrides:
finalize in class java.lang.Object
Copyright © 2007-2011 52north.org. All Rights Reserved.