@Named public final class RingTopologyProcessor extends java.lang.Object implements TopologyProcessor
Ring topology generator.
Sample topologies:
Constructor and Description |
---|
RingTopologyProcessor() |
Modifier and Type | Method and Description |
---|---|
org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge> |
createGraphFrom(java.util.Set<? extends NodeDescriptor> identities)
Returns a graph of node connections based on the given set of nodes.
|
java.lang.String |
name()
Return a name of the processor.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
priority
public java.lang.String name()
TopologyProcessor
Return a name of the processor.
By default returns an empty string.
name
in interface TopologyProcessor
public org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge> createGraphFrom(java.util.Set<? extends NodeDescriptor> identities)
TopologyProcessor
Returns a graph of node connections based on the given set of nodes.
createGraphFrom
in interface TopologyProcessor
identities
- node identities.public java.lang.String toString()
toString
in class java.lang.Object