@Named public final class FullyConnectedTopologyProcessor extends java.lang.Object implements TopologyProcessor
Modifier and Type | Field and Description |
---|---|
private static int |
PRIORITY |
Constructor and Description |
---|
FullyConnectedTopologyProcessor() |
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.
|
int |
priority()
Returns a priority of a processor (higher is more important).
|
java.lang.String |
toString() |
private static final int PRIORITY
public int priority()
TopologyProcessor
Returns a priority of a processor (higher is more important).
Used for selecting the initial processor.
By default returns 0.
priority
in interface TopologyProcessor
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