Class BitbucketWebhookTriggerImpl.BitbucketWebhookTriggerDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<Trigger<?>>
-
- hudson.triggers.TriggerDescriptor
-
- com.atlassian.bitbucket.jenkins.internal.trigger.BitbucketWebhookTriggerImpl.BitbucketWebhookTriggerDescriptor
-
- Enclosing class:
- BitbucketWebhookTriggerImpl
@Symbol("BitbucketWebhookTriggerImpl") @Extension public static class BitbucketWebhookTriggerImpl.BitbucketWebhookTriggerDescriptor extends TriggerDescriptor
-
-
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 Constructor Description BitbucketWebhookTriggerDescriptor()
BitbucketWebhookTriggerDescriptor(SequentialExecutionQueue queue, RetryingWebhookHandler webhookHandler, JenkinsProvider jenkinsProvider, BitbucketPluginConfiguration bitbucketPluginConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
boolean
isApplicable(Item item)
Trigger<?>
newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
void
schedule(Job<?,?> job, SCMTriggerItem triggerItem, BitbucketWebhookTriggerRequest triggerRequest)
void
setJenkinsProvider(JenkinsProvider jenkinsProvider)
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Constructor Detail
-
BitbucketWebhookTriggerDescriptor
public BitbucketWebhookTriggerDescriptor()
-
BitbucketWebhookTriggerDescriptor
public BitbucketWebhookTriggerDescriptor(SequentialExecutionQueue queue, RetryingWebhookHandler webhookHandler, JenkinsProvider jenkinsProvider, BitbucketPluginConfiguration bitbucketPluginConfiguration)
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Trigger<?>>
-
isApplicable
public boolean isApplicable(Item item)
- Specified by:
isApplicable
in classTriggerDescriptor
-
newInstance
public Trigger<?> newInstance(@Nullable org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
newInstance
in classDescriptor<Trigger<?>>
- Throws:
Descriptor.FormException
-
schedule
public void schedule(@Nullable Job<?,?> job, SCMTriggerItem triggerItem, BitbucketWebhookTriggerRequest triggerRequest)
-
setJenkinsProvider
@Inject public void setJenkinsProvider(JenkinsProvider jenkinsProvider)
-
-