Interface BitbucketWebhookConfiguration
- All Superinterfaces:
- Describable<BitbucketWebhookConfiguration>
- All Known Implementing Classes:
- AbstractBitbucketWebhookConfiguration,- CloudWebhookConfiguration,- PluginWebhookConfiguration,- ServerWebhookConfiguration
The implementation represents an a webhook configuration that can be used in
 a 
BitbucketEndpoint.- Since:
- 937.0.0
- 
Method SummaryModifier and TypeMethodDescriptionReturns theIdCredentials.getId()of the credentials to use for auto-management of hooks.static StringReturns the global setting from Jenkins.get().getRootUrl().default BitbucketWebhookDescriptorName to use to describe the hook implementation.A custom Jenkins root URL to be used by the webhook implementation as part of the receiver callback endpoint.getId()The hook implementation identifier.Class<? extends BitbucketWebhookManager>Returns the implementation that is in charge to apply this configuration to the Bitbucket.booleanReturnstrueif and only if Jenkins is supposed to auto-manage hooks for this end-point.
- 
Method Details- 
getDisplayNameName to use to describe the hook implementation.- Returns:
- the name to use for the implementation
 
- 
getIdThe hook implementation identifier.- Returns:
- the unique identifier for this implementation
 
- 
isManageHooksboolean isManageHooks()Returnstrueif and only if Jenkins is supposed to auto-manage hooks for this end-point.- Returns:
- trueif and only if Jenkins is supposed to auto-manage hooks for this end-point.
 
- 
getCredentialsIdReturns theIdCredentials.getId()of the credentials to use for auto-management of hooks.- Returns:
- the IdCredentials.getId()of the credentials to use for auto-management of hooks.
 
- 
getEndpointJenkinsRootURLA custom Jenkins root URL to be used by the webhook implementation as part of the receiver callback endpoint.The returned value must ensure that ends with a slash /- Returns:
- the verbatim setting provided by endpoint configuration
 
- 
getDefaultJenkinsRootURLReturns the global setting from Jenkins.get().getRootUrl().- Returns:
- Jenkins URL defined in the global configuration page.
 
- 
getManagerClass<? extends BitbucketWebhookManager> getManager()Returns the implementation that is in charge to apply this configuration to the Bitbucket.- Returns:
- a manager class specific for this configuration.
 
- 
getDescriptor- Specified by:
- getDescriptorin interface- Describable<BitbucketWebhookConfiguration>
- See Also:
 
 
-