Class WebhookJobPropertyDescriptor
java.lang.Object
hudson.model.Descriptor<JobProperty<?>>
hudson.model.JobPropertyDescriptor
jenkins.plugins.office365connector.WebhookJobPropertyDescriptor
@Extension
@Symbol("office365ConnectorWebhooks")
public final class WebhookJobPropertyDescriptor
extends JobPropertyDescriptor
-
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 TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) booleanisApplicable(Class<? extends Job> jobType) booleannewInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) voidsetWebhooks(List<Webhook> webhooks) Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors, newInstanceMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, 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, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
WebhookJobPropertyDescriptor
public WebhookJobPropertyDescriptor()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setWebhooks
-
isApplicable
- Overrides:
isApplicablein classJobPropertyDescriptor
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<JobProperty<?>>
-
newInstance
public WebhookJobProperty newInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) - Overrides:
newInstancein classJobPropertyDescriptor
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) - Overrides:
configurein classDescriptor<JobProperty<?>>
-