public abstract class AbstractDescriptorAlgorithm extends Object implements IAlgorithm, org.n52.wps.server.observerpattern.ISubject
| Constructor and Description |
|---|
AbstractDescriptorAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
addError(String error) |
void |
addObserver(org.n52.wps.server.observerpattern.IObserver o) |
protected abstract AlgorithmDescriptor |
createAlgorithmDescriptor() |
protected AlgorithmDescriptor |
getAlgorithmDescriptor() |
net.opengis.wps.x100.ProcessDescriptionType |
getDescription() |
List<String> |
getErrors() |
Class<? extends org.n52.wps.io.data.IData> |
getInputDataType(String identifier) |
Class<? extends org.n52.wps.io.data.IData> |
getOutputDataType(String identifier) |
Object |
getState() |
String |
getWellKnownName()
Returns some well-known name for the process.
|
void |
notifyObservers() |
boolean |
processDescriptionIsValid()
Checks if the processDescription complies to the process itself and fits any schema or other dependencies.
|
void |
removeObserver(org.n52.wps.server.observerpattern.IObserver o) |
void |
update(Object state) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunpublic net.opengis.wps.x100.ProcessDescriptionType getDescription()
getDescription in interface IAlgorithmpublic String getWellKnownName()
IAlgorithmgetWellKnownName in interface IAlgorithmpublic boolean processDescriptionIsValid()
IAlgorithmprocessDescriptionIsValid in interface IAlgorithmprotected final AlgorithmDescriptor getAlgorithmDescriptor()
protected abstract AlgorithmDescriptor createAlgorithmDescriptor()
public Class<? extends org.n52.wps.io.data.IData> getInputDataType(String identifier)
getInputDataType in interface IAlgorithmpublic Class<? extends org.n52.wps.io.data.IData> getOutputDataType(String identifier)
getOutputDataType in interface IAlgorithmpublic Object getState()
getState in interface org.n52.wps.server.observerpattern.ISubjectpublic void update(Object state)
update in interface org.n52.wps.server.observerpattern.ISubjectpublic void addObserver(org.n52.wps.server.observerpattern.IObserver o)
addObserver in interface org.n52.wps.server.observerpattern.ISubjectpublic void removeObserver(org.n52.wps.server.observerpattern.IObserver o)
removeObserver in interface org.n52.wps.server.observerpattern.ISubjectpublic void notifyObservers()
public List<String> getErrors()
getErrors in interface IAlgorithmCopyright © 2019. All Rights Reserved.