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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(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) int
int
boolean
isApplicable
(Class<? extends Job> jobType) boolean
newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) void
setEndpoints
(List<Endpoint> endpoints) Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors
Methods 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:
isApplicable
in classJobPropertyDescriptor
-
getDisplayName
- Overrides:
getDisplayName
in 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:
newInstance
in 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:
configure
in classDescriptor<JobProperty<?>>
-