Interface DiffItems.Builder

  • Method Details

    • sourceOnly

      DiffItems.Builder sourceOnly(Collection<String> sourceOnly)

      The names of items that exist only on the source domain.

      Parameters:
      sourceOnly - The names of items that exist only on the source domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceOnly

      DiffItems.Builder sourceOnly(String... sourceOnly)

      The names of items that exist only on the source domain.

      Parameters:
      sourceOnly - The names of items that exist only on the source domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetOnly

      DiffItems.Builder targetOnly(Collection<String> targetOnly)

      The names of items that exist only on the target domain.

      Parameters:
      targetOnly - The names of items that exist only on the target domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetOnly

      DiffItems.Builder targetOnly(String... targetOnly)

      The names of items that exist only on the target domain.

      Parameters:
      targetOnly - The names of items that exist only on the target domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • diverged

      The items that exist on both domains but differ, with the diverging fields.

      Parameters:
      diverged - The items that exist on both domains but differ, with the diverging fields.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • diverged

      DiffItems.Builder diverged(DivergentItem... diverged)

      The items that exist on both domains but differ, with the diverging fields.

      Parameters:
      diverged - The items that exist on both domains but differ, with the diverging fields.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • diverged

      The items that exist on both domains but differ, with the diverging fields.

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

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

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