Class PostWebhooks2Configuration.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfiguration>
com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookDescriptor
io.jenkins.plugins.bitbucket.webhook.moveworkforward.v2.PostWebhooks2Configuration.DescriptorImpl
- Enclosing class:
- PostWebhooks2Configuration
@Symbol("postWebhooks2")
@Extension
public static class PostWebhooks2Configuration.DescriptorImpl
extends com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookDescriptor
-
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 TypeMethodDescriptionstatic FormValidationdoFillCredentialsIdItems(String credentialsId, String serverURL) Stapler form completion.booleanisApplicable(com.cloudbees.jenkins.plugins.bitbucket.api.endpoint.EndpointType type) 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:
getDisplayNamein classDescriptor<com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfiguration>
-
isApplicable
public boolean isApplicable(@NonNull com.cloudbees.jenkins.plugins.bitbucket.api.endpoint.EndpointType type) - Specified by:
isApplicablein classcom.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookDescriptor
-
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.
-
doCheckEndpointJenkinsRootURL
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static FormValidation doCheckEndpointJenkinsRootURL(@QueryParameter String value)
-