You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/declarative-pipelines/DataflowGraphRegistry.md
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# DataflowGraphRegistry
2
2
3
-
`DataflowGraphRegistry` is a registry of [Dataflow Graphs](#dataflowGraphs).
3
+
`DataflowGraphRegistry` is a registry of [Dataflow Graphs](#dataflowGraphs) (a mere wrapper around a collection of [GraphRegistrationContext](GraphRegistrationContext.md)s)
4
4
5
5
!!! note "Scala object"
6
6
`DataflowGraphRegistry` is an `object` in Scala which means it is a class that has exactly one instance (itself).
@@ -19,13 +19,27 @@ val graphId = DataflowGraphRegistry.createDataflowGraph(
A new [GraphRegistrationContext](GraphRegistrationContext.md) is added when `DataflowGraphRegistry` is requested to [createDataflowGraph](#createDataflowGraph).
35
+
36
+
A single [GraphRegistrationContext](GraphRegistrationContext.md) can be looked up with [getDataflowGraph](#getDataflowGraph) and [getDataflowGraphOrThrow](#getDataflowGraphOrThrow).
37
+
38
+
All the [GraphRegistrationContext](GraphRegistrationContext.md)s can be returned with [getAllDataflowGraphs](#getAllDataflowGraphs).
39
+
40
+
A [GraphRegistrationContext](GraphRegistrationContext.md) is removed when [dropDataflowGraph](#dropDataflowGraph).
41
+
42
+
`dataflowGraphs` is cleared up with [dropAllDataflowGraphs](#dropAllDataflowGraphs).
0 commit comments