Interface DependencyGraph.Builder

  • Method Details

    • nodes

      An array of nodes in the dependency graph, where each node represents a service or component.

      Parameters:
      nodes - An array of nodes in the dependency graph, where each node represents a service or component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodes

      DependencyGraph.Builder nodes(Node... nodes)

      An array of nodes in the dependency graph, where each node represents a service or component.

      Parameters:
      nodes - An array of nodes in the dependency graph, where each node represents a service or component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodes

      An array of nodes in the dependency graph, where each node represents a service or component.

      This is a convenience method that creates an instance of the Node.Builder avoiding the need to create one manually via Node.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to nodes(List<Node>).

      Parameters:
      nodes - a consumer that will call methods on Node.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • edges

      An array of edges in the dependency graph, where each edge represents a connection or dependency between two nodes.

      Parameters:
      edges - An array of edges in the dependency graph, where each edge represents a connection or dependency between two nodes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • edges

      DependencyGraph.Builder edges(Edge... edges)

      An array of edges in the dependency graph, where each edge represents a connection or dependency between two nodes.

      Parameters:
      edges - An array of edges in the dependency graph, where each edge represents a connection or dependency between two nodes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • edges

      An array of edges in the dependency graph, where each edge represents a connection or dependency between two nodes.

      This is a convenience method that creates an instance of the Edge.Builder avoiding the need to create one manually via Edge.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to edges(List<Edge>).

      Parameters:
      edges - a consumer that will call methods on Edge.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: