Interface IssuePatchDelivery.Builder

  • Method Details

    • status

      The overall result, in priority order: FAILED when any patch's destination delivery failed or exhausted its retries; otherwise PENDING while any is still in progress; otherwise SUCCEEDED when at least one was delivered; otherwise SKIPPED.

      Parameters:
      status - The overall result, in priority order: FAILED when any patch's destination delivery failed or exhausted its retries; otherwise PENDING while any is still in progress; otherwise SUCCEEDED when at least one was delivered; otherwise SKIPPED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The overall result, in priority order: FAILED when any patch's destination delivery failed or exhausted its retries; otherwise PENDING while any is still in progress; otherwise SUCCEEDED when at least one was delivered; otherwise SKIPPED.

      Parameters:
      status - The overall result, in priority order: FAILED when any patch's destination delivery failed or exhausted its retries; otherwise PENDING while any is still in progress; otherwise SUCCEEDED when at least one was delivered; otherwise SKIPPED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • patchCount

      IssuePatchDelivery.Builder patchCount(Integer patchCount)

      Number of the issue's patches that have a destination delivery.

      Parameters:
      patchCount - Number of the issue's patches that have a destination delivery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • succeededCount

      IssuePatchDelivery.Builder succeededCount(Integer succeededCount)

      Number of those patches delivered to their destination.

      Parameters:
      succeededCount - Number of those patches delivered to their destination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedCount

      IssuePatchDelivery.Builder failedCount(Integer failedCount)

      Number of those patches whose delivery failed or exhausted its retries.

      Parameters:
      failedCount - Number of those patches whose delivery failed or exhausted its retries.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReasonsWithStrings

      IssuePatchDelivery.Builder failureReasonsWithStrings(Collection<String> failureReasons)

      Distinct reasons of the failed deliveries, in ascending order. Present only when failedCount is greater than zero.

      Parameters:
      failureReasons - Distinct reasons of the failed deliveries, in ascending order. Present only when failedCount is greater than zero.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReasonsWithStrings

      IssuePatchDelivery.Builder failureReasonsWithStrings(String... failureReasons)

      Distinct reasons of the failed deliveries, in ascending order. Present only when failedCount is greater than zero.

      Parameters:
      failureReasons - Distinct reasons of the failed deliveries, in ascending order. Present only when failedCount is greater than zero.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReasons

      IssuePatchDelivery.Builder failureReasons(Collection<DeliveryReason> failureReasons)

      Distinct reasons of the failed deliveries, in ascending order. Present only when failedCount is greater than zero.

      Parameters:
      failureReasons - Distinct reasons of the failed deliveries, in ascending order. Present only when failedCount is greater than zero.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReasons

      IssuePatchDelivery.Builder failureReasons(DeliveryReason... failureReasons)

      Distinct reasons of the failed deliveries, in ascending order. Present only when failedCount is greater than zero.

      Parameters:
      failureReasons - Distinct reasons of the failed deliveries, in ascending order. Present only when failedCount is greater than zero.
      Returns:
      Returns a reference to this object so that method calls can be chained together.