Modifier and Type | Class and Description |
---|---|
static class |
Topology.Builder |
static class |
Topology.Vertex |
protected static class |
Topology.VertexType |
Modifier and Type | Field and Description |
---|---|
protected org.jgrapht.experimental.dag.DirectedAcyclicGraph<Topology.Vertex,org.jgrapht.graph.DefaultEdge> |
dag |
protected List<ComputationMetadataMapping> |
metadataList |
protected Map<String,ComputationMetadataMapping> |
metadataMap |
protected Map<String,Supplier<Computation>> |
supplierMap |
Modifier | Constructor and Description |
---|---|
protected |
Topology(Topology.Builder builder) |
protected final List<ComputationMetadataMapping> metadataList
protected final Map<String,ComputationMetadataMapping> metadataMap
protected final Map<String,Supplier<Computation>> supplierMap
protected final org.jgrapht.experimental.dag.DirectedAcyclicGraph<Topology.Vertex,org.jgrapht.graph.DefaultEdge> dag
protected Topology(Topology.Builder builder)
public static Topology.Builder builder()
public String toPlantuml()
public String toPlantuml(Settings settings)
protected void generateDag(Set<ComputationMetadataMapping> metadataSet) throws org.jgrapht.experimental.dag.DirectedAcyclicGraph.CycleFoundException
org.jgrapht.experimental.dag.DirectedAcyclicGraph.CycleFoundException
public ComputationMetadataMapping getMetadata(String name)
public Supplier<Computation> getSupplier(String name)
public Set<String> streamsSet()
public Set<String> streamsSet(String root)
public List<ComputationMetadataMapping> metadataList()
protected Topology.Vertex getVertex(String name)
public Set<String> getDescendants(String name)
public Set<String> getDescendantComputationNames(String name)
public Set<String> getChildren(String name)
public Set<String> getChildrenComputationNames(String name)
public Set<String> getParents(String name)
public Set<String> getParentComputationsNames(String name)
public Set<String> getAncestorComputationNames(String name)
public Set<String> getAncestors(String name)
public org.jgrapht.experimental.dag.DirectedAcyclicGraph<Topology.Vertex,org.jgrapht.graph.DefaultEdge> getDag()
Copyright © 2018 Nuxeo. All rights reserved.