public abstract class WFSNotePollingGraphUpdater extends PollingGraphUpdater
WinkkiPollingGraphUpdater| Modifier and Type | Field and Description | 
|---|---|
protected Graph | 
graph  | 
pollingPeriodSeconds| Constructor and Description | 
|---|
WFSNotePollingGraphUpdater()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
configurePolling(Graph graph,
                com.fasterxml.jackson.databind.JsonNode config)
Here the updater can be configured using the properties in the file 'Graph.properties'. 
 | 
protected abstract Alert | 
getNote(org.opengis.feature.simple.SimpleFeature feature)
Parses a SimpleFeature and returns an Alert if the feature should create one. 
 | 
protected void | 
runPolling()
The function is run periodically by the update manager. 
 | 
void | 
setGraphUpdaterManager(GraphUpdaterManager updaterManager)
Here the updater gets to know its parent manager to execute GraphWriterRunnables. 
 | 
void | 
setup(Graph graph)
Setup the WFS data source and add the DynamicStreetNotesSource to the graph 
 | 
void | 
teardown()
Here the updater can clean up after itself. 
 | 
configure, runprotected Graph graph
protected void configurePolling(Graph graph, com.fasterxml.jackson.databind.JsonNode config) throws Exception
configurePolling in class PollingGraphUpdaterExceptionpublic void setGraphUpdaterManager(GraphUpdaterManager updaterManager)
public void setup(Graph graph) throws IOException, org.opengis.referencing.FactoryException
IOExceptionorg.opengis.referencing.FactoryExceptionpublic void teardown()
GraphUpdaterprotected void runPolling()
                   throws IOException
runPolling in class PollingGraphUpdaterIOExceptionprotected abstract Alert getNote(org.opengis.feature.simple.SimpleFeature feature)
Copyright © 2019. All rights reserved.