org.deegree.services.wps.provider.sextante
Class SextanteWPSProcess

java.lang.Object
  extended by org.deegree.services.wps.provider.sextante.SextanteWPSProcess
All Implemented Interfaces:
WPSProcess

public class SextanteWPSProcess
extends Object
implements WPSProcess

This class presents a WPSProcess with a SextanteProcesslet and creates the ProcessDefinition on the basis of the SEXTANTE GeoAlgorithm. Therefore this class must differentiates all input and output parameters of a SEXTANTE GeoAlgorithm.

Version:
$Revision: $, $Date: $
Author:
Jens Pabel, last edited by: $Author: pabel $

Field Summary
static String BAND_INPUT
           
static String BOOLEAN_INPUT
           
static String CHART_OUTPUT
           
static String FILEPATH_INPUT
           
static String FIXED_TABLE_INPUT
           
static String MULTIPLE_INPUT_INPUT
           
static String NUMERICAL_VALUE_INPUT
           
static String POINT_INPUT
           
static String RASTER_LAYER_INPUT
           
static String RASTER_LAYER_OUTPUT
           
static String SELECTION_INPUT
           
static String STRING_INPUT
           
static String TABLE_FIELD_INPUT
           
static String TABLE_INPUT
           
static String TABLE_OUTPUT
           
static String TEXT_OUTPUT
           
static String VECTOR_LAYER_INPUT
           
static String VECTOR_LAYER_OUTPUT
           
 
Method Summary
static String createCommandLineName(String indentifier)
          This method creates the command line name from a identifier of a SextanteProcesses.
static String createIdentifier(es.unex.sextante.core.GeoAlgorithm alg)
          This method creates the identifier for a SextanteWPSProcess with its prefix and suffix.
 ProcessDefinition getDescription()
          Returns the description (e.g. parameter types, metadata) of the process.
 ExceptionCustomizer getExceptionCustomizer()
          Returns the exception customizer for the process.
 Processlet getProcesslet()
          Returns the Processlet (process code) instance of the process.
static void logAlgorithm(es.unex.sextante.core.GeoAlgorithm alg)
          Logs a SEXTANTE GeoAlgorithm with his input und output parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VECTOR_LAYER_INPUT

public static final String VECTOR_LAYER_INPUT
See Also:
Constant Field Values

NUMERICAL_VALUE_INPUT

public static final String NUMERICAL_VALUE_INPUT
See Also:
Constant Field Values

SELECTION_INPUT

public static final String SELECTION_INPUT
See Also:
Constant Field Values

FILEPATH_INPUT

public static final String FILEPATH_INPUT
See Also:
Constant Field Values

BOOLEAN_INPUT

public static final String BOOLEAN_INPUT
See Also:
Constant Field Values

STRING_INPUT

public static final String STRING_INPUT
See Also:
Constant Field Values

MULTIPLE_INPUT_INPUT

public static final String MULTIPLE_INPUT_INPUT
See Also:
Constant Field Values

RASTER_LAYER_INPUT

public static final String RASTER_LAYER_INPUT
See Also:
Constant Field Values

TABLE_FIELD_INPUT

public static final String TABLE_FIELD_INPUT
See Also:
Constant Field Values

POINT_INPUT

public static final String POINT_INPUT
See Also:
Constant Field Values

BAND_INPUT

public static final String BAND_INPUT
See Also:
Constant Field Values

TABLE_INPUT

public static final String TABLE_INPUT
See Also:
Constant Field Values

FIXED_TABLE_INPUT

public static final String FIXED_TABLE_INPUT
See Also:
Constant Field Values

VECTOR_LAYER_OUTPUT

public static final String VECTOR_LAYER_OUTPUT
See Also:
Constant Field Values

RASTER_LAYER_OUTPUT

public static final String RASTER_LAYER_OUTPUT
See Also:
Constant Field Values

TABLE_OUTPUT

public static final String TABLE_OUTPUT
See Also:
Constant Field Values

TEXT_OUTPUT

public static final String TEXT_OUTPUT
See Also:
Constant Field Values

CHART_OUTPUT

public static final String CHART_OUTPUT
See Also:
Constant Field Values
Method Detail

createCommandLineName

public static String createCommandLineName(String indentifier)
This method creates the command line name from a identifier of a SextanteProcesses. It removes prefix and suffix.

Parameters:
indentifier - Identifier of a SextanteProcesses.
Returns:
Command line name of a SEXTANTE GeoAlgorithm.

createIdentifier

public static String createIdentifier(es.unex.sextante.core.GeoAlgorithm alg)
This method creates the identifier for a SextanteWPSProcess with its prefix and suffix.

Parameters:
alg - SEXTANTE GeoAlgorithm.
Returns:
Identifier for a SextanteWPSProcess.

getProcesslet

public Processlet getProcesslet()
Description copied from interface: WPSProcess
Returns the Processlet (process code) instance of the process.

Specified by:
getProcesslet in interface WPSProcess
Returns:
the processlet, never null

getDescription

public ProcessDefinition getDescription()
Description copied from interface: WPSProcess
Returns the description (e.g. parameter types, metadata) of the process.

Specified by:
getDescription in interface WPSProcess
Returns:
the description, never null

getExceptionCustomizer

public ExceptionCustomizer getExceptionCustomizer()
Description copied from interface: WPSProcess
Returns the exception customizer for the process.

Specified by:
getExceptionCustomizer in interface WPSProcess
Returns:
exception customizer, can be null

logAlgorithm

public static void logAlgorithm(es.unex.sextante.core.GeoAlgorithm alg)
Logs a SEXTANTE GeoAlgorithm with his input und output parameters.

Parameters:
alg - SEXTANTE GeoAlgorithm


Copyright © 2011. All Rights Reserved.