Package jenkins.plugins.mqttnotification
Class MqttNotifier.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Publisher>
jenkins.plugins.mqttnotification.MqttNotifier.DescriptorImpl
- Enclosing class:
- MqttNotifier
@Symbol("mqttNotification") @Extension public static final class MqttNotifier.DescriptorImpl extends BuildStepDescriptor<Publisher>
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
FormValidation
doCheckBrokerHost(String value)
FormValidation
doCheckBrokerPort(String value)
ListBoxModel
doFillCredentialsIdItems(Item context)
ListBoxModel
doFillQosItems()
FormValidation
doTestConnection(String brokerUrl, String credentialsId)
String
getDisplayName()
boolean
isApplicable(Class<? extends AbstractProject> aClass)
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
doCheckBrokerHost
-
doCheckBrokerPort
-
doFillQosItems
-
doTestConnection
public FormValidation doTestConnection(@QueryParameter("brokerUrl") String brokerUrl, @QueryParameter("credentialsId") String credentialsId) -
doFillCredentialsIdItems
-
isApplicable
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException- Overrides:
configure
in classDescriptor<Publisher>
- Throws:
Descriptor.FormException
-