|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.n52.wps.server.AbstractAlgorithm
public abstract class AbstractAlgorithm
This class has to be extended in order to be served through the WPS. The class file should also include a description file of the algorithm. This file has to be valid against the describeProcess.xsd. The file has to be placed in the folder of the class file and has to be named the same as the Algorithm.
If you want to apply a different initialization method, just override the initializeDescription() method. NOTE: This class is an adapter and it is recommended to extend this.
| Field Summary | |
|---|---|
protected net.opengis.wps.x100.ProcessDescriptionType |
description
|
| Constructor Summary | |
|---|---|
AbstractAlgorithm()
default constructor, calls the initializeDescription() Method |
|
AbstractAlgorithm(java.lang.String wellKnownName)
default constructor, calls the initializeDescription() Method |
|
| Method Summary | |
|---|---|
net.opengis.wps.x100.ProcessDescriptionType |
getDescription()
|
java.lang.String |
getWellKnownName()
Returns some well-known name for the process. |
protected net.opengis.wps.x100.ProcessDescriptionType |
initializeDescription()
This method should be overwritten, in case you want to have a way of initializing. |
boolean |
processDescriptionIsValid()
Checks if the processDescription complies to the process itself and fits any schema or other dependencies. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.n52.wps.server.IAlgorithm |
|---|
getErrors, getInputDataType, getOutputDataType, run |
| Field Detail |
|---|
protected net.opengis.wps.x100.ProcessDescriptionType description
| Constructor Detail |
|---|
public AbstractAlgorithm()
public AbstractAlgorithm(java.lang.String wellKnownName)
| Method Detail |
|---|
protected net.opengis.wps.x100.ProcessDescriptionType initializeDescription()
public net.opengis.wps.x100.ProcessDescriptionType getDescription()
getDescription in interface IAlgorithmpublic boolean processDescriptionIsValid()
IAlgorithm
processDescriptionIsValid in interface IAlgorithmpublic java.lang.String getWellKnownName()
IAlgorithm
getWellKnownName in interface IAlgorithm
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||