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

public class BitbucketPluginWebhook extends Object implements BitbucketWebHook
  • Constructor Details

    • BitbucketPluginWebhook

      public BitbucketPluginWebhook()
  • Method Details

    • 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)
    • getCommittersToIgnore

      public String getCommittersToIgnore()
    • setCommittersToIgnore

      public void setCommittersToIgnore(String committersToIgnore)
    • 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)
    • 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)
    • getUuid

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

      public String getSecret()
      Description copied from interface: BitbucketWebHook
      Returns the secret used as the key to generate a HMAC digest value sent in the X-Hub-Signature header at delivery time.
      Specified by:
      getSecret in interface BitbucketWebHook
      Returns:
      a secret
    • isTagCreated

      public boolean isTagCreated()
    • setTagCreated

      public void setTagCreated(boolean tagCreated)
    • isBranchDeleted

      public boolean isBranchDeleted()
    • setBranchDeleted

      public void setBranchDeleted(boolean branchDeleted)
    • isBranchCreated

      public boolean isBranchCreated()
    • setBranchCreated

      public void setBranchCreated(boolean branchCreated)
    • isRepoPush

      public boolean isRepoPush()
    • setRepoPush

      public void setRepoPush(boolean repoPush)
    • isPrDeclined

      public boolean isPrDeclined()
    • setPrDeclined

      public void setPrDeclined(boolean prDeclined)
    • isPrRescoped

      public boolean isPrRescoped()
    • setPrRescoped

      public void setPrRescoped(boolean prRescoped)
    • isPrMerged

      public boolean isPrMerged()
    • setPrMerged

      public void setPrMerged(boolean prMerged)
    • isPrReopened

      public boolean isPrReopened()
    • setPrReopened

      public void setPrReopened(boolean prReopened)
    • isPrUpdated

      public boolean isPrUpdated()
    • setPrUpdated

      public void setPrUpdated(boolean prUpdated)
    • isPrCreated

      public boolean isPrCreated()
    • setPrCreated

      public void setPrCreated(boolean prCreated)
    • isPrCommented

      public boolean isPrCommented()
    • setPrCommented

      public void setPrCommented(boolean prCommented)
    • isPrDeleted

      public boolean isPrDeleted()
    • setPrDeleted

      public void setPrDeleted(boolean prDeleted)
    • isRepoMirrorSynced

      public boolean isRepoMirrorSynced()
    • setRepoMirrorSynced

      public void setRepoMirrorSynced(boolean repoMirrorSynced)
    • isBuildStatus

      public boolean isBuildStatus()
    • setBuildStatus

      public void setBuildStatus(boolean buildStatus)