Class HudsonNotificationPropertyDescriptor
java.lang.Object
hudson.model.Descriptor<JobProperty<?>>
hudson.model.JobPropertyDescriptor
com.tikal.hudson.plugins.notification.HudsonNotificationPropertyDescriptor
-
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.StaplerRequest req, net.sf.json.JSONObject formData) doCheckPublicUrl(String publicUrl, String protocolParameter) doCheckSecretUrl(String publicUrl, String protocolParameter) doFillSecretUrlItems(Item owner, String secretUrl) intintbooleanisApplicable(Class<? extends Job> jobType) booleannewInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) voidsetEndpoints(List<Endpoint> endpoints) Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptorsMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, 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, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
HudsonNotificationPropertyDescriptor
public HudsonNotificationPropertyDescriptor()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
getTargets
-
setEndpoints
-
isApplicable
- Overrides:
isApplicablein classJobPropertyDescriptor
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<JobProperty<?>>
-
getDefaultBranch
-
getDefaultTimeout
public int getDefaultTimeout() -
getDefaultRetries
public int getDefaultRetries() -
newInstance
public HudsonNotificationProperty newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
newInstancein classJobPropertyDescriptor- Throws:
Descriptor.FormException
-
doCheckPublicUrl
public FormValidation doCheckPublicUrl(@QueryParameter(value="publicUrl",fixEmpty=true) String publicUrl, @RelativePath("..") @QueryParameter("protocol") String protocolParameter) -
doCheckSecretUrl
public FormValidation doCheckSecretUrl(@QueryParameter(value="secretUrl",fixEmpty=true) String publicUrl, @RelativePath("..") @QueryParameter("protocol") String protocolParameter) -
doFillSecretUrlItems
public ListBoxModel doFillSecretUrlItems(@AncestorInPath Item owner, @QueryParameter String secretUrl) -
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) - Overrides:
configurein classDescriptor<JobProperty<?>>
-