Interface DependencyGraph.Builder

  • Method Details

    • nodes

      An array of nodes representing the services, resources, or other entities in the dependency graph.

      Parameters:
      nodes - An array of nodes representing the services, resources, or other entities in the dependency graph.
      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 representing the services, resources, or other entities in the dependency graph.

      Parameters:
      nodes - An array of nodes representing the services, resources, or other entities in the dependency graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodes

      An array of nodes representing the services, resources, or other entities in the dependency graph.

      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 representing the connections and relationships between the nodes in the dependency graph.

      Parameters:
      edges - An array of edges representing the connections and relationships between the nodes in the dependency graph.
      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 representing the connections and relationships between the nodes in the dependency graph.

      Parameters:
      edges - An array of edges representing the connections and relationships between the nodes in the dependency graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • edges

      An array of edges representing the connections and relationships between the nodes in the dependency graph.

      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: