org.n52.wps.transactional.algorithm
Class GenericTransactionalAlgorithm
java.lang.Object
org.n52.wps.server.AbstractTransactionalAlgorithm
org.n52.wps.transactional.algorithm.GenericTransactionalAlgorithm
- All Implemented Interfaces:
- IAlgorithm
public class GenericTransactionalAlgorithm
- extends AbstractTransactionalAlgorithm
|
Method Summary |
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. |
protected net.opengis.wps.x100.ProcessDescriptionType |
initializeDescription()
|
boolean |
processDescriptionIsValid()
Checks if the processDescription complies to the process itself and fits any schema or other dependencies. |
java.util.HashMap<java.lang.String,IData> |
run(net.opengis.wps.x100.ExecuteDocument payload)
|
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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericTransactionalAlgorithm
public GenericTransactionalAlgorithm(java.lang.String processID,
java.lang.Class<?> registeredRepository)
getDescription
public net.opengis.wps.x100.ProcessDescriptionType getDescription()
run
public java.util.HashMap<java.lang.String,IData> run(net.opengis.wps.x100.ExecuteDocument payload)
- Specified by:
run in class AbstractTransactionalAlgorithm
getErrors
public java.util.List<java.lang.String> getErrors()
initializeDescription
protected net.opengis.wps.x100.ProcessDescriptionType initializeDescription()
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.
getWellKnownName
public java.lang.String getWellKnownName()
- Description copied from interface:
IAlgorithm
- Returns some well-known name for the process.
- Returns:
- Returns some well-known name for the process or algorithm
if that exists, else returns an empty String, never null.
getInputDataType
public java.lang.Class getInputDataType(java.lang.String id)
getOutputDataType
public java.lang.Class getOutputDataType(java.lang.String id)
run
public java.util.Map<java.lang.String,IData> run(java.util.Map<java.lang.String,java.util.List<IData>> inputData)
Copyright © 2007-2011 52north.org. All Rights Reserved.