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

java.lang.Object
  extended by org.deegree.services.wps.provider.sextante.SextanteProcessProvider
All Implemented Interfaces:
Resource, ProcessProvider

public class SextanteProcessProvider
extends Object
implements ProcessProvider

ProcessProvider that provides Sextante processes.

Version:
$Revision: 29972 $, $Date: 2011-03-09 23:50:45 +0100 (Wed, 09 Mar 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Method Summary
 void destroy()
          Usually called by the ResourceManager upon workspace shutdown.
 WPSProcess getProcess(CodeType id)
          Returns the process with the specified identifier.
 Map<CodeType,WPSProcess> getProcesses()
          Returns all currently available processes.
static es.unex.sextante.core.GeoAlgorithm[] getSupportedAlgorithms(SextanteProcesses config)
          This method returns all supported SEXTANTE GeoAlgorithms, these are called in the configuration file.
static es.unex.sextante.core.GeoAlgorithm[] getVectorLayerAlgorithms()
          Returns an array of SEXTANTE GeoAlgorithms, which processing vector data.
 void init(DeegreeWorkspace workspace)
          Usually called by the ResourceManager upon workspace startup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getVectorLayerAlgorithms

public static es.unex.sextante.core.GeoAlgorithm[] getVectorLayerAlgorithms()
Returns an array of SEXTANTE GeoAlgorithms, which processing vector data.

Returns:
Array of SEXTANTE GeoAlgorithms, which processing vector data.

getSupportedAlgorithms

public static es.unex.sextante.core.GeoAlgorithm[] getSupportedAlgorithms(SextanteProcesses config)
This method returns all supported SEXTANTE GeoAlgorithms, these are called in the configuration file.

Parameters:
config - Data of the configuration file.
Returns:
All supported SEXTANTE GeoAlgorithms.

init

public void init(DeegreeWorkspace workspace)
          throws ResourceInitException
Description copied from interface: Resource
Usually called by the ResourceManager upon workspace startup.

Specified by:
init in interface Resource
Parameters:
workspace - the workspace the resource belongs to, may be null
Throws:
ResourceInitException

destroy

public void destroy()
Description copied from interface: Resource
Usually called by the ResourceManager upon workspace shutdown.

Specified by:
destroy in interface Resource

getProcess

public WPSProcess getProcess(CodeType id)
Description copied from interface: ProcessProvider
Returns the process with the specified identifier.

Specified by:
getProcess in interface ProcessProvider
Parameters:
id - identifier of the requested process, never null
Returns:
the process with the specified identifier, or null if no such process exists (anymore)

getProcesses

public Map<CodeType,WPSProcess> getProcesses()
Description copied from interface: ProcessProvider
Returns all currently available processes.

Specified by:
getProcesses in interface ProcessProvider
Returns:
all currently available processes, may be null or empty


Copyright © 2011. All Rights Reserved.