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 TypeMethodDescriptionprotected voiddoFillCredentialsIdItems(String credentialsId, String serverURL) Stapler form completion.doFillHookSignatureCredentialsIdItems(String hookSignatureCredentialsId, String serverURL) Stapler form completion.getStats()booleanisApplicable(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, doClear, doShowStats, getHookSignatureCredentialsIdItemsMethods 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
-
clearCaches
protected void clearCaches()- Specified by:
clearCachesin classAbstractBitbucketWebhookConfiguration.AbstractBitbucketWebhookDescriptorImpl
-
getStats
- Specified by:
getStatsin classAbstractBitbucketWebhookConfiguration.AbstractBitbucketWebhookDescriptorImpl
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<BitbucketWebhookConfiguration>
-
isApplicable
Description copied from class:BitbucketWebhookDescriptorReturns if this implementation can supports and can be installed by the given endpoint type.- Specified by:
isApplicablein classBitbucketWebhookDescriptor- Parameters:
type- of the endpoint- Returns:
trueif this implementation can manage payload from this endpoint,falseotherwise.
-
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.
-