public class TopologyGenerator extends Object
TopologyGenerator generator = TopologyGenerator.builder()
.persister(topologyPersister)
...
.build();
generator.generateTopology(); // create a topology
// do something with it
generator.deleteTopology(); // delete it again
The generated nodes will belong to the category "GeneratedNode".Modifier and Type | Class and Description |
---|---|
static class |
TopologyGenerator.ProgressCallback
Used to record the current progress of the generation.
|
static class |
TopologyGenerator.Protocol |
static class |
TopologyGenerator.Topology |
static class |
TopologyGenerator.TopologyGeneratorBuilder |
Modifier and Type | Field and Description |
---|---|
static String |
CATEGORY_NAME |
Modifier and Type | Method and Description |
---|---|
static TopologyGenerator.TopologyGeneratorBuilder |
builder() |
void |
deleteTopology() |
void |
generateTopology(TopologySettings topologySettings) |
public static final String CATEGORY_NAME
public static TopologyGenerator.TopologyGeneratorBuilder builder()
public void generateTopology(TopologySettings topologySettings)
public void deleteTopology()
Copyright © 2021. All rights reserved.