public class ResetTask
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ConfigurationGraph |
graph
The Graph.
|
Constructor and Description |
---|
ResetTask(ConfigurationGraph configurationGraph) |
Modifier and Type | Method and Description |
---|---|
void |
resetGraphConfiguration(RouterConfiguration rc)
method for reset the additional information of the nodes.
|
private final ConfigurationGraph graph
public ResetTask(ConfigurationGraph configurationGraph)
configurationGraph
- the graph.public void resetGraphConfiguration(RouterConfiguration rc) throws LoadConfigurationGraphException
rc
- the router configuration to get the path where the configuration is located. For
example, is as follows: "C:\Users\admin\Documents\example-3.10.15\config" and the
Assignments.LoadConfigurationGraphException
- the error is thrown if a problem occurs during loading.