Class AbstractBitbucketEndpoint
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.impl.endpoint.AbstractBitbucketEndpoint
- All Implemented Interfaces:
- BitbucketEndpoint,- Describable<BitbucketEndpoint>
- Direct Known Subclasses:
- BitbucketCloudEndpoint,- BitbucketServerEndpoint
Represents a 
BitbucketCloudEndpoint or a BitbucketServerEndpoint.- Since:
- 2.2.0
- 
Method SummaryModifier and TypeMethodDescriptionfinal StringDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Returns the webhook implementation that this endpoint is using to manage the incoming payload.final booleanDeprecated, for removal: This API element is subject to removal in a future version.protected ObjectvoidsetManageHooks(boolean manageHooks, String credentialsId) Deprecated, for removal: This API element is subject to removal in a future version.voidsetWebhook(BitbucketWebhookConfiguration webhook) 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.endpoint.BitbucketEndpointcredentials, getDescriptor, getDisplayName, getRepositoryURL, getServerURL, getType, isEquals
- 
Method Details- 
getWebhookDescription copied from interface:BitbucketEndpointReturns the webhook implementation that this endpoint is using to manage the incoming payload.- Specified by:
- getWebhookin interface- BitbucketEndpoint
- Returns:
- the BitbucketWebhookConfigurationimplementation selected for this endpoint.
 
- 
setWebhook
- 
setManageHooks@Deprecated(since="937.0.0", forRemoval=true) public void setManageHooks(boolean manageHooks, String credentialsId) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:BitbucketEndpointSets if Jenkins is supposed to auto-manage hooks for this end-point.- Specified by:
- setManageHooksin interface- BitbucketEndpoint
- Parameters:
- manageHooks- if Jenkins must auto-manage hooks registration.
- credentialsId- credentialsId to use with rights to create or update web hook for Bitbucket repositories.
 
- 
getEndpointJenkinsRootURLDeprecated, for removal: This API element is subject to removal in a future version.Jenkins Server Root URL to be used by this Bitbucket endpoint. The global setting from Jenkins.get().getRootUrl() will be used if this field is null or equals an empty string.- Specified by:
- getEndpointJenkinsRootURLin interface- BitbucketEndpoint
- Returns:
- the verbatim setting provided by endpoint configuration
 
- 
isManageHooksDeprecated, for removal: This API element is subject to removal in a future version.Returnstrueif and only if Jenkins is supposed to auto-manage hooks for this end-point.- Specified by:
- isManageHooksin interface- BitbucketEndpoint
- Returns:
- trueif and only if Jenkins is supposed to auto-manage hooks for this end-point.
 
- 
getCredentialsIdDeprecated, for removal: This API element is subject to removal in a future version.Returns theIdCredentials.getId()of the credentials to use for auto-management of hooks.- Specified by:
- getCredentialsIdin interface- BitbucketEndpoint
- Returns:
- the IdCredentials.getId()of the credentials to use for auto-management of hooks.
 
- 
readResolve
 
-