org.n52.wps.python
Class PythonScriptDelegator
java.lang.Object
org.n52.wps.python.PythonScriptDelegator
- All Implemented Interfaces:
- IAlgorithm
public class PythonScriptDelegator
- extends java.lang.Object
- implements IAlgorithm
|
Field Summary |
protected java.util.List<java.lang.String> |
errors
|
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
errors
protected java.util.List<java.lang.String> errors
PythonScriptDelegator
public PythonScriptDelegator(MovingCodeObject templateMCO,
java.io.File workspaceBase)
throws java.io.IOException
- Throws:
java.io.IOException
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
getErrors
public java.util.List<java.lang.String> getErrors()
- Specified by:
getErrors in interface IAlgorithm
getDescription
public net.opengis.wps.x100.ProcessDescriptionType getDescription()
- Specified by:
getDescription 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
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
finalize
protected void finalize()
- Overrides:
finalize in class java.lang.Object
Copyright © 2007-2011 52north.org. All Rights Reserved.