org.n52.wps.server.grass
Class GrassProcessDelegator

java.lang.Object
  extended by org.n52.wps.server.AbstractAlgorithm
      extended by org.n52.wps.server.grass.GenericGrassAlgorithm
          extended by org.n52.wps.server.grass.GrassProcessDelegator
All Implemented Interfaces:
IAlgorithm

public class GrassProcessDelegator
extends GenericGrassAlgorithm


Constructor Summary
GrassProcessDelegator(java.lang.String processID, net.opengis.wps.x100.ProcessDescriptionType processDescriptionType, ExecuteRequest executeRequest, boolean isAddon)
           
 
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 org.n52.wps.server.grass.GenericGrassAlgorithm
getExecuteRequest, initializeDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrassProcessDelegator

public GrassProcessDelegator(java.lang.String processID,
                             net.opengis.wps.x100.ProcessDescriptionType processDescriptionType,
                             ExecuteRequest executeRequest,
                             boolean isAddon)
Method Detail

getDescription

public net.opengis.wps.x100.ProcessDescriptionType getDescription()
Specified by:
getDescription in interface IAlgorithm
Overrides:
getDescription in class GenericGrassAlgorithm

getErrors

public java.util.List<java.lang.String> getErrors()

getInputDataType

public java.lang.Class<?> getInputDataType(java.lang.String id)

getOutputDataType

public java.lang.Class<?> getOutputDataType(java.lang.String id)

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
Overrides:
getWellKnownName in class GenericGrassAlgorithm
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
Overrides:
processDescriptionIsValid in class GenericGrassAlgorithm

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.