public abstract class AbstractObservableAlgorithm extends Object implements IAlgorithm, org.n52.wps.server.observerpattern.ISubject
| Modifier and Type | Field and Description |
|---|---|
protected net.opengis.wps.x100.ProcessDescriptionType |
description |
protected String |
wkName |
| Constructor and Description |
|---|
AbstractObservableAlgorithm()
default constructor, calls the initializeDescription() Method
|
AbstractObservableAlgorithm(net.opengis.wps.x100.ProcessDescriptionType description) |
AbstractObservableAlgorithm(String wellKnownName)
default constructor, calls the initializeDescription() Method
|
| Modifier and Type | Method and Description |
|---|---|
void |
addObserver(org.n52.wps.server.observerpattern.IObserver o) |
net.opengis.wps.x100.ProcessDescriptionType |
getDescription() |
Object |
getState() |
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.
|
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, waitgetErrors, getInputDataType, getOutputDataType, runprotected net.opengis.wps.x100.ProcessDescriptionType description
protected final String wkName
public AbstractObservableAlgorithm()
public AbstractObservableAlgorithm(net.opengis.wps.x100.ProcessDescriptionType description)
public AbstractObservableAlgorithm(String wellKnownName)
protected net.opengis.wps.x100.ProcessDescriptionType initializeDescription()
public net.opengis.wps.x100.ProcessDescriptionType getDescription()
getDescription in interface IAlgorithmpublic boolean processDescriptionIsValid()
IAlgorithmprocessDescriptionIsValid in interface IAlgorithmpublic String getWellKnownName()
IAlgorithmgetWellKnownName 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()
Copyright © 2017. All Rights Reserved.