org.n52.wps.server.sextante
Class GenericSextanteProcessDelegator

java.lang.Object
  extended by org.n52.wps.server.sextante.GenericSextanteProcessDelegator
All Implemented Interfaces:
IAlgorithm, SextanteConstants

public class GenericSextanteProcessDelegator
extends java.lang.Object
implements IAlgorithm, SextanteConstants


Field Summary
 
Fields inherited from interface org.n52.wps.server.sextante.SextanteConstants
GRID_EXTENT_CELLSIZE, GRID_EXTENT_X_MAX, GRID_EXTENT_X_MIN, GRID_EXTENT_Y_MAX, GRID_EXTENT_Y_MIN
 
Constructor Summary
GenericSextanteProcessDelegator(java.lang.String processID, net.opengis.wps.x100.ProcessDescriptionType processDescriptionType)
           
 
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.
 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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericSextanteProcessDelegator

public GenericSextanteProcessDelegator(java.lang.String processID,
                                       net.opengis.wps.x100.ProcessDescriptionType processDescriptionType)
Method Detail

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

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

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


Copyright © 2007-2011 52north.org. All Rights Reserved.