Class ServerWebhookConfiguration.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<BitbucketWebhookConfiguration>
com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookDescriptor
com.cloudbees.jenkins.plugins.bitbucket.impl.webhook.AbstractBitbucketWebhookConfiguration.AbstractBitbucketWebhookDescriptorImpl
com.cloudbees.jenkins.plugins.bitbucket.impl.webhook.server.ServerWebhookConfiguration.DescriptorImpl
- Enclosing class:
- ServerWebhookConfiguration
@Symbol("serverWebhook")
@Extension
public static class ServerWebhookConfiguration.DescriptorImpl
extends AbstractBitbucketWebhookConfiguration.AbstractBitbucketWebhookDescriptorImpl
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoFillCredentialsIdItems
(String credentialsId, String serverURL) Stapler form completion.doFillHookSignatureCredentialsIdItems
(String hookSignatureCredentialsId, String serverURL) Stapler form completion.boolean
isApplicable
(EndpointType type) Returns if this implementation can supports and can be installed by the given endpoint type.Methods inherited from class com.cloudbees.jenkins.plugins.bitbucket.impl.webhook.AbstractBitbucketWebhookConfiguration.AbstractBitbucketWebhookDescriptorImpl
checkPermission, doCheckEndpointJenkinsRootURL, getHookSignatureCredentialsIdItems
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<BitbucketWebhookConfiguration>
-
isApplicable
Description copied from class:BitbucketWebhookDescriptor
Returns if this implementation can supports and can be installed by the given endpoint type.- Specified by:
isApplicable
in classBitbucketWebhookDescriptor
- 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.
-