cascading.flow.planner.process

## Interface ProcessGraph<Process extends ProcessModel>

- All Superinterfaces:
    Serializable
  All Known Implementing Classes:
    BaseProcessGraph, FlowNodeGraph, FlowStepGraph

      public interface ProcessGraph<Process extends ProcessModel>
      extends Serializable

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ProcessEdge` | `addEdge(Process lhs, Process rhs)`
    `boolean` | `addEdge(Process lhs, Process rhs, ProcessEdge processEdge)`
    `boolean` | `addVertex(Process process)`
    `boolean` | `containsEdge(ProcessEdge processEdge)`
    `boolean` | `containsEdge(Process lhs, Process rhs)`
    `boolean` | `containsVertex(Process process)`
    `Set<ProcessEdge>` | `edgeSet()`
    `Set<ProcessEdge>` | `edgesOf(Process process)`
    `Set<ProcessEdge>` | `getAllEdges(Process lhs, Process rhs)`
    `Set<FlowElement>` | `getAllSinkElements()`
    `Set<FlowElement>` | `getAllSourceElements()`
    `EnumMultiMap<FlowElement>` | `getAnnotations()`
    `Set<FlowElement>` | `getDuplicatedElements(ElementGraph elementGraph)`
    `ProcessEdge` | `getEdge(Process lhs, Process rhs)`
    `Process` | `getEdgeSource(ProcessEdge processEdge)`
    `Process` | `getEdgeTarget(ProcessEdge processEdge)`
    `double` | `getEdgeWeight(ProcessEdge processEdge)`
    `List<ElementGraph>` | `getElementGraphs(FlowElement flowElement)`
    `List<ElementGraph>` | `getElementGraphs(Scope scope)`
    `List<Process>` | `getElementProcesses(FlowElement flowElement)`
    `List<Process>` | `getElementProcesses(Scope scope)`
    `List<Process>` | `getElementSinkProcesses(FlowElement flowElement)`
    `List<Process>` | `getElementSourceProcesses(FlowElement flowElement)`
    `Set<ElementGraph>` | `getIdentityElementGraphs()`
    `Set<Process>` | `getIdentityProcesses()`
    `Iterator<Process>` | `getOrderedTopologicalIterator(Comparator<Process> comparator)`
    `Iterator<Process>` | `getOrdinalTopologicalIterator()`
    `Set<FlowElement>` | `getSinkElements()`
    `Set<Tap>` | `getSinkTaps()`
    `Map<String,Tap>` | `getSinkTapsMap()`
    `Set<FlowElement>` | `getSourceElements()`
    `Set<Tap>` | `getSourceTaps()`
    `Map<String,Tap>` | `getSourceTapsMap()`
    `Iterator<Process>` | `getTopologicalIterator()`
    `Map<String,Tap>` | `getTrapsMap()`
    `Set<ProcessEdge>` | `incomingEdgesOf(Process process)`
    `int` | `inDegreeOf(Process process)`
    `int` | `outDegreeOf(Process process)`
    `Set<ProcessEdge>` | `outgoingEdgesOf(Process process)`
    `boolean` | `removeAllEdges(Collection<? extends ProcessEdge> processEdges)`
    `Set<ProcessEdge>` | `removeAllEdges(Process lhs, Process rhs)`
    `boolean` | `removeAllVertices(Collection<? extends Process> processes)`
    `boolean` | `removeEdge(ProcessEdge processEdge)`
    `ProcessEdge` | `removeEdge(Process lhs, Process rhs)`
    `boolean` | `removeVertex(Process process)`
    `Set<Process>` | `vertexSet()`
    `void` | `writeDOT(String filename)`
    `void` | `writeDOTNested(String filename, ElementGraph graph)`

- - ### Method Detail

    - #### addVertex

          boolean addVertex(Process process)

    - #### getAllEdges

          Set<ProcessEdge> getAllEdges(Process lhs,
                                     Process rhs)

    - #### getEdge

          ProcessEdge getEdge(Process lhs,
                            Process rhs)

    - #### addEdge

          ProcessEdge addEdge(Process lhs,
                            Process rhs)

    - #### addEdge

          boolean addEdge(Process lhs,
                        Process rhs,
                        ProcessEdge processEdge)

    - #### containsEdge

          boolean containsEdge(Process lhs,
                             Process rhs)

    - #### containsEdge

          boolean containsEdge(ProcessEdge processEdge)

    - #### containsVertex

          boolean containsVertex(Process process)

    - #### edgeSet

          Set<ProcessEdge> edgeSet()

    - #### edgesOf

          Set<ProcessEdge> edgesOf(Process process)

    - #### removeAllEdges

          boolean removeAllEdges(Collection<? extends ProcessEdge> processEdges)

    - #### removeAllEdges

          Set<ProcessEdge> removeAllEdges(Process lhs,
                                        Process rhs)

    - #### removeAllVertices

          boolean removeAllVertices(Collection<? extends Process> processes)

    - #### removeEdge

          ProcessEdge removeEdge(Process lhs,
                               Process rhs)

    - #### removeEdge

          boolean removeEdge(ProcessEdge processEdge)

    - #### removeVertex

          boolean removeVertex(Process process)

    - #### vertexSet

          Set<Process> vertexSet()

    - #### getEdgeSource

          Process getEdgeSource(ProcessEdge processEdge)

    - #### getEdgeTarget

          Process getEdgeTarget(ProcessEdge processEdge)

    - #### getEdgeWeight

          double getEdgeWeight(ProcessEdge processEdge)

    - #### inDegreeOf

          int inDegreeOf(Process process)

    - #### incomingEdgesOf

          Set<ProcessEdge> incomingEdgesOf(Process process)

    - #### outDegreeOf

          int outDegreeOf(Process process)

    - #### outgoingEdgesOf

          Set<ProcessEdge> outgoingEdgesOf(Process process)

    - #### getSourceElements

          Set<FlowElement> getSourceElements()

    - #### getSinkElements

          Set<FlowElement> getSinkElements()

    - #### getSourceTaps

          Set<Tap> getSourceTaps()

    - #### getSourceTapsMap

          Map<String,Tap> getSourceTapsMap()

    - #### getSinkTaps

          Set<Tap> getSinkTaps()

    - #### getSinkTapsMap

          Map<String,Tap> getSinkTapsMap()

    - #### getTrapsMap

          Map<String,Tap> getTrapsMap()

    - #### getTopologicalIterator

          Iterator<Process> getTopologicalIterator()

    - #### getOrdinalTopologicalIterator

          Iterator<Process> getOrdinalTopologicalIterator()

    - #### getOrderedTopologicalIterator

          Iterator<Process> getOrderedTopologicalIterator(Comparator<Process> comparator)

    - #### getElementGraphs

          List<ElementGraph> getElementGraphs(FlowElement flowElement)

    - #### getElementProcesses

          List<Process> getElementProcesses(FlowElement flowElement)

    - #### getElementGraphs

          List<ElementGraph> getElementGraphs(Scope scope)

    - #### getElementProcesses

          List<Process> getElementProcesses(Scope scope)

    - #### getElementSourceProcesses

          List<Process> getElementSourceProcesses(FlowElement flowElement)

    - #### getElementSinkProcesses

          List<Process> getElementSinkProcesses(FlowElement flowElement)

    - #### getAllSourceElements

          Set<FlowElement> getAllSourceElements()

    - #### getAllSinkElements

          Set<FlowElement> getAllSinkElements()

    - #### getAnnotations

          EnumMultiMap<FlowElement> getAnnotations()

    - #### getDuplicatedElements

          Set<FlowElement> getDuplicatedElements(ElementGraph elementGraph)

    - #### getIdentityElementGraphs

          Set<ElementGraph> getIdentityElementGraphs()

    - #### getIdentityProcesses

          Set<Process> getIdentityProcesses()

    - #### writeDOT

          void writeDOT(String filename)

    - #### writeDOTNested

          void writeDOTNested(String filename,
                            ElementGraph graph)

Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.