@Extension
public final class WebhookJobPropertyDescriptor
extends hudson.model.JobPropertyDescriptor
Constructor and Description |
---|
WebhookJobPropertyDescriptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doCheckUrl(String url) |
int |
getDefaultTimeout() |
String |
getDisplayName() |
List<Webhook> |
getTargets() |
boolean |
isApplicable(Class<? extends hudson.model.Job> jobType) |
boolean |
isEnabled() |
WebhookJobProperty |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
void |
setWebhooks(List<Webhook> webhooks) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public boolean isEnabled()
public boolean isApplicable(Class<? extends hudson.model.Job> jobType)
isApplicable
in class hudson.model.JobPropertyDescriptor
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.model.JobProperty<?>>
public int getDefaultTimeout()
public WebhookJobProperty newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
newInstance
in class hudson.model.JobPropertyDescriptor
hudson.model.Descriptor.FormException
public hudson.util.FormValidation doCheckUrl(@QueryParameter(value="url",fixEmpty=true) String url)
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
configure
in class hudson.model.Descriptor<hudson.model.JobProperty<?>>
Copyright © 2004-2015. All Rights Reserved.