Class PluginWebhookConfiguration
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.impl.webhook.plugin.PluginWebhookConfiguration
- All Implemented Interfaces:
BitbucketWebhookConfiguration,Describable<BitbucketWebhookConfiguration>
@Deprecated(since="937.0.0")
public class PluginWebhookConfiguration
extends Object
implements BitbucketWebhookConfiguration
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionPluginWebhookConfiguration(boolean manageHooks, String credentialsId) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionfinal StringDeprecated.Returns theIdCredentials.getId()of the credentials to use for auto-management of hooks.Deprecated.Name to use to describe the hook implementation.Deprecated.A custom Jenkins root URL to be used by the webhook implementation as part of the receiver callback endpoint.getId()Deprecated.The hook implementation identifier.Class<? extends BitbucketWebhookManager>Deprecated.Returns the implementation that is in charge to apply this configuration to the Bitbucket.final booleanDeprecated.Returnstrueif and only if Jenkins is supposed to auto-manage hooks for this end-point.voidsetEndpointJenkinsRootURL(String endpointJenkinsRootURL) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfiguration
getDescriptor
-
Constructor Details
-
PluginWebhookConfiguration
@DataBoundConstructor public PluginWebhookConfiguration(boolean manageHooks, @CheckForNull String credentialsId) Deprecated.
-
-
Method Details
-
isManageHooks
public final boolean isManageHooks()Deprecated.Returnstrueif and only if Jenkins is supposed to auto-manage hooks for this end-point.- Specified by:
isManageHooksin interfaceBitbucketWebhookConfiguration- Returns:
trueif and only if Jenkins is supposed to auto-manage hooks for this end-point.
-
getCredentialsId
Deprecated.Returns theIdCredentials.getId()of the credentials to use for auto-management of hooks.- Specified by:
getCredentialsIdin interfaceBitbucketWebhookConfiguration- Returns:
- the
IdCredentials.getId()of the credentials to use for auto-management of hooks.
-
getEndpointJenkinsRootURL
Deprecated.Description 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 interfaceBitbucketWebhookConfiguration- Returns:
- the verbatim setting provided by endpoint configuration
-
setEndpointJenkinsRootURL
Deprecated. -
getDisplayName
Deprecated.Description copied from interface:BitbucketWebhookConfigurationName to use to describe the hook implementation.- Specified by:
getDisplayNamein interfaceBitbucketWebhookConfiguration- Returns:
- the name to use for the implementation
-
getId
Deprecated.Description copied from interface:BitbucketWebhookConfigurationThe hook implementation identifier.- Specified by:
getIdin interfaceBitbucketWebhookConfiguration- Returns:
- the unique identifier for this implementation
-
getManager
Deprecated.Description copied from interface:BitbucketWebhookConfigurationReturns the implementation that is in charge to apply this configuration to the Bitbucket.- Specified by:
getManagerin interfaceBitbucketWebhookConfiguration- Returns:
- a manager class specific for this configuration.
-