@Extension
public final class HudsonNotificationPropertyDescriptor
extends hudson.model.JobPropertyDescriptor
| Constructor and Description |
|---|
HudsonNotificationPropertyDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doCheckPublicUrl(String publicUrl,
String protocolParameter) |
hudson.util.FormValidation |
doCheckSecretUrl(String publicUrl,
String protocolParameter) |
hudson.util.ListBoxModel |
doFillSecretUrlItems(hudson.model.Item owner,
String secretUrl) |
int |
getDefaultRetries() |
int |
getDefaultTimeout() |
String |
getDisplayName() |
List<Endpoint> |
getTargets() |
boolean |
isApplicable(Class<? extends hudson.model.Job> jobType) |
boolean |
isEnabled() |
HudsonNotificationProperty |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
void |
setEndpoints(List<Endpoint> endpoints) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, 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, toMappublic HudsonNotificationPropertyDescriptor()
public boolean isEnabled()
public boolean isApplicable(Class<? extends hudson.model.Job> jobType)
isApplicable in class hudson.model.JobPropertyDescriptorpublic String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.model.JobProperty<?>>public int getDefaultTimeout()
public int getDefaultRetries()
public HudsonNotificationProperty newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
newInstance in class hudson.model.JobPropertyDescriptorhudson.model.Descriptor.FormExceptionpublic hudson.util.FormValidation doCheckPublicUrl(@QueryParameter(value="publicUrl",fixEmpty=true)
String publicUrl,
@RelativePath(value="..") @QueryParameter(value="protocol")
String protocolParameter)
public hudson.util.FormValidation doCheckSecretUrl(@QueryParameter(value="secretUrl",fixEmpty=true)
String publicUrl,
@RelativePath(value="..") @QueryParameter(value="protocol")
String protocolParameter)
public hudson.util.ListBoxModel doFillSecretUrlItems(@AncestorInPath
hudson.model.Item owner,
@QueryParameter
String secretUrl)
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
configure in class hudson.model.Descriptor<hudson.model.JobProperty<?>>Copyright © 2016–2018. All rights reserved.