Class AbstractBitbucketWebhookConfiguration
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.impl.webhook.AbstractBitbucketWebhookConfiguration
- All Implemented Interfaces:
- BitbucketWebhookConfiguration,- Describable<BitbucketWebhookConfiguration>
- Direct Known Subclasses:
- CloudWebhookConfiguration,- ServerWebhookConfiguration
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public abstract class AbstractBitbucketWebhookConfiguration
extends Object
implements BitbucketWebhookConfiguration
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic class
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAbstractBitbucketWebhookConfiguration(boolean manageHooks, String credentialsId, boolean enableHookSignature, String hookSignatureCredentialsId) 
- 
Method SummaryModifier and TypeMethodDescriptionfinal StringReturns theIdCredentials.getId()of the credentials to use for auto-management of hooks.Name 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.booleanbooleanfinal booleanReturnstrueif and only if Jenkins is supposed to auto-manage hooks for this end-point.booleanvoidsetEnableCache(boolean enableCache) voidsetEndpointJenkinsRootURL(String endpointJenkinsRootURL) voidsetSkipCertVerification(boolean skipCertVerification) voidsetWebhooksCacheDuration(Integer webhooksCacheDuration) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfigurationgetDescriptor, getId, getManager
- 
Constructor Details- 
AbstractBitbucketWebhookConfiguration
 
- 
- 
Method Details- 
isManageHookspublic final boolean isManageHooks()Returnstrueif and only if Jenkins is supposed to auto-manage hooks for this end-point.- Specified by:
- isManageHooksin interface- BitbucketWebhookConfiguration
- 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.- Specified by:
- getCredentialsIdin interface- BitbucketWebhookConfiguration
- Returns:
- the IdCredentials.getId()of the credentials to use for auto-management of hooks.
 
- 
getHookSignatureCredentialsId
- 
isEnableHookSignaturepublic boolean isEnableHookSignature()
- 
getEndpointJenkinsRootURLDescription copied from interface:BitbucketWebhookConfigurationA 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 /- Specified by:
- getEndpointJenkinsRootURLin interface- BitbucketWebhookConfiguration
- Returns:
- the verbatim setting provided by endpoint configuration
 
- 
setEndpointJenkinsRootURL
- 
getDisplayNameDescription copied from interface:BitbucketWebhookConfigurationName to use to describe the hook implementation.- Specified by:
- getDisplayNamein interface- BitbucketWebhookConfiguration
- Returns:
- the name to use for the implementation
 
- 
isEnableCachepublic boolean isEnableCache()
- 
setEnableCache@DataBoundSetter public void setEnableCache(boolean enableCache) 
- 
getWebhooksCacheDuration
- 
setWebhooksCacheDuration
- 
isSkipCertVerificationpublic boolean isSkipCertVerification()
- 
setSkipCertVerification@DataBoundSetter public void setSkipCertVerification(boolean skipCertVerification) 
 
-