public class GraphScanner extends Object
Modifier and Type | Field and Description |
---|---|
List<String> |
autoRegister
A list of routerIds to automatically register and load at startup
|
File |
basePath
Where to look for graphs.
|
String |
defaultRouterId
The default router, none by default
|
Graph.LoadLevel |
loadLevel
Load level
|
Constructor and Description |
---|
GraphScanner(GraphService graphService,
File basePath,
boolean autoScan) |
Modifier and Type | Method and Description |
---|---|
void |
startup()
Based on the autoRegister list, automatically register all routerIds for which we can find a
graph file in a subdirectory of the resourceBase path.
|
public File basePath
public List<String> autoRegister
public String defaultRouterId
public Graph.LoadLevel loadLevel
public GraphScanner(GraphService graphService, File basePath, boolean autoScan)
Copyright © 2018. All rights reserved.