@FunctionalInterface
public interface TopologyProcessor
Topology processor generates a topology graph from the given set of nodes.
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.
|
default java.lang.String |
name()
Return a name of the processor.
|
default int |
priority()
Returns a priority of a processor (higher is more important).
|
default int priority()
Returns a priority of a processor (higher is more important).
Used for selecting the initial processor.
By default returns 0.
default java.lang.String name()
Return a name of the processor.
By default returns an empty string.
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.
identities
- node identities.