Klasse Webhook.WebhookBuilder

java.lang.Object
io.github.primelib.jira4j.restv3.model.Webhook.WebhookBuilder
Umschließende Klasse:
Webhook

public static class Webhook.WebhookBuilder extends Object
  • Methodendetails

    • events

      The Jira events that trigger the webhook.
      Gibt zurück:
      this.
    • expirationDate

      public Webhook.WebhookBuilder expirationDate(Long expirationDate)
      The date after which the webhook is no longer sent. Use [Extend webhook life](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-webhooks/#api-rest-api-3-webhook-refresh-put) to extend the date.
      Gibt zurück:
      this.
    • fieldIdsFilter

      public Webhook.WebhookBuilder fieldIdsFilter(List<String> fieldIdsFilter)
      A list of field IDs. When the issue changelog contains any of the fields, the webhook jira:issue_updated is sent. If this parameter is not present, the app is notified about all field updates.
      Gibt zurück:
      this.
    • id

      public Webhook.WebhookBuilder id(Long id)
      The ID of the webhook.
      Gibt zurück:
      this.
    • issuePropertyKeysFilter

      public Webhook.WebhookBuilder issuePropertyKeysFilter(List<String> issuePropertyKeysFilter)
      A list of issue property keys. A change of those issue properties triggers the issue_property_set or issue_property_deleted webhooks. If this parameter is not present, the app is notified about all issue property updates.
      Gibt zurück:
      this.
    • jqlFilter

      public Webhook.WebhookBuilder jqlFilter(String jqlFilter)
      The JQL filter that specifies which issues the webhook is sent for.
      Gibt zurück:
      this.
    • build

      public Webhook build()
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object