Package jenkins.plugins.mattermost
Class MattermostNotifier.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<Publisher>
hudson.tasks.BuildStepDescriptor<Publisher>
jenkins.plugins.mattermost.MattermostNotifier.DescriptorImpl
- Enclosing class:
MattermostNotifier
@Extension
@Symbol("mattermostNotifier")
public static class MattermostNotifier.DescriptorImpl
extends BuildStepDescriptor<Publisher>
-
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.StaplerRequest2 req, net.sf.json.JSONObject formData) doTestConnection(String endpoint, String room, String icon, String buildServerUrl) getIcon()intgetRoom()booleanisApplicable(Class<? extends AbstractProject> aClass) booleanvoidsetBuildServerUrl(String buildServerUrl) voidsetEndpoint(Secret endpoint) voidsetEndpoint(String endpoint) voidvoidsetProxyPassword(Secret proxyPassword) voidsetProxyPassword(String proxyPassword) voidsetProxyPort(int proxyPort) voidsetProxyServer(String proxyServer) voidsetProxyUsername(String proxyUsername) voidvoidsetUseCustomProxy(boolean useCustomProxy) Methods inherited from class hudson.tasks.BuildStepDescriptor
filterMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, 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, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
isUseCustomProxy
public boolean isUseCustomProxy() -
getProxyServer
-
getProxyPort
public int getProxyPort() -
getProxyUsername
-
getProxyPassword
-
setUseCustomProxy
@DataBoundSetter public void setUseCustomProxy(boolean useCustomProxy) -
setProxyServer
-
setProxyPort
@DataBoundSetter public void setProxyPort(int proxyPort) -
setProxyUsername
-
setProxyPassword
-
setProxyPassword
-
setEndpoint
-
setEndpoint
-
getEndpoint
-
setRoom
-
getRoom
-
setIcon
-
getIcon
-
setBuildServerUrl
-
getBuildServerUrl
-
getSendAs
-
doFillCommitInfoChoiceItems
-
isApplicable
- Specified by:
isApplicablein classBuildStepDescriptor<Publisher>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
configurein classDescriptor<Publisher>- Throws:
Descriptor.FormException
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<Publisher>
-
doTestConnection
@POST public FormValidation doTestConnection(@QueryParameter("endpoint") String endpoint, @QueryParameter("room") String room, @QueryParameter("icon") String icon, @QueryParameter("buildServerUrl") String buildServerUrl) throws Descriptor.FormException - Throws:
Descriptor.FormException
-