Class NativeBitbucketServerWebhook

java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.server.client.repository.NativeBitbucketServerWebhook
All Implemented Interfaces:
BitbucketWebHook

public class NativeBitbucketServerWebhook extends Object implements BitbucketWebHook
  • Constructor Details

    • NativeBitbucketServerWebhook

      public NativeBitbucketServerWebhook()
  • Method Details

    • getUuid

      public String getUuid()
      Specified by:
      getUuid in interface BitbucketWebHook
      Returns:
      Bitbucket internal ID for this webhook (not required at creation time)
    • setUuid

      public void setUuid(String uuid)
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface BitbucketWebHook
      Returns:
      webhook description text
    • setDescription

      public void setDescription(String description)
    • getUrl

      public String getUrl()
      Specified by:
      getUrl in interface BitbucketWebHook
      Returns:
      webhook URL (not required at creation time)
    • setUrl

      public void setUrl(String url)
    • getEvents

      public List<String> getEvents()
      Specified by:
      getEvents in interface BitbucketWebHook
      Returns:
      the list of events this webhook is notifying
    • setEvents

      public void setEvents(List<String> events)
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface BitbucketWebHook
      Returns:
      tru if the webhook is active (not required at creation time)
    • setActive

      public void setActive(boolean active)