Class ServerWebhookConfiguration.DescriptorImpl

All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
ServerWebhookConfiguration

@Symbol("serverWebhook") @Extension public static class ServerWebhookConfiguration.DescriptorImpl extends AbstractBitbucketWebhookConfiguration.AbstractBitbucketWebhookDescriptorImpl
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<BitbucketWebhookConfiguration>
    • isApplicable

      public boolean isApplicable(@NonNull EndpointType type)
      Description copied from class: BitbucketWebhookDescriptor
      Returns if this implementation can supports and can be installed by the given endpoint type.
      Specified by:
      isApplicable in class BitbucketWebhookDescriptor
      Parameters:
      type - of the endpoint
      Returns:
      true if this implementation can manage payload from this endpoint, false otherwise.
    • doFillCredentialsIdItems

      public ListBoxModel doFillCredentialsIdItems(@QueryParameter(fixEmpty=true) String credentialsId, @QueryParameter(value="serverURL",fixEmpty=true) String serverURL)
      Stapler form completion.
      Parameters:
      credentialsId - selected credentials.
      serverURL - the server URL.
      Returns:
      the available credentials.
    • doFillHookSignatureCredentialsIdItems

      public ListBoxModel doFillHookSignatureCredentialsIdItems(@QueryParameter(fixEmpty=true) String hookSignatureCredentialsId, @QueryParameter(value="serverURL",fixEmpty=true) String serverURL)
      Stapler form completion.
      Parameters:
      hookSignatureCredentialsId - selected hook signature credentials.
      serverURL - the server URL.
      Returns:
      the available credentials.