Class MattermostNotifier.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<Publisher>
hudson.tasks.BuildStepDescriptor<Publisher>
jenkins.plugins.mattermost.MattermostNotifier.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
MattermostNotifier

@Extension @Symbol("mattermostNotifier") public static class MattermostNotifier.DescriptorImpl extends BuildStepDescriptor<Publisher>
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • isUseCustomProxy

      public boolean isUseCustomProxy()
    • getProxyServer

      public String getProxyServer()
    • getProxyPort

      public int getProxyPort()
    • getProxyUsername

      public String getProxyUsername()
    • getProxyPassword

      public Secret getProxyPassword()
    • setUseCustomProxy

      @DataBoundSetter public void setUseCustomProxy(boolean useCustomProxy)
    • setProxyServer

      @DataBoundSetter public void setProxyServer(String proxyServer)
    • setProxyPort

      @DataBoundSetter public void setProxyPort(int proxyPort)
    • setProxyUsername

      @DataBoundSetter public void setProxyUsername(String proxyUsername)
    • setProxyPassword

      @DataBoundSetter public void setProxyPassword(Secret proxyPassword)
    • setProxyPassword

      @DataBoundSetter public void setProxyPassword(String proxyPassword)
    • setEndpoint

      @DataBoundSetter public void setEndpoint(String endpoint)
    • setEndpoint

      @DataBoundSetter public void setEndpoint(Secret endpoint)
    • getEndpoint

      public Secret getEndpoint()
    • setRoom

      @DataBoundSetter public void setRoom(String room)
    • getRoom

      public String getRoom()
    • setIcon

      @DataBoundSetter public void setIcon(String icon)
    • getIcon

      public String getIcon()
    • setBuildServerUrl

      @DataBoundSetter public void setBuildServerUrl(String buildServerUrl)
    • getBuildServerUrl

      public String getBuildServerUrl()
    • getSendAs

      public String getSendAs()
    • doFillCommitInfoChoiceItems

      public ListBoxModel doFillCommitInfoChoiceItems()
    • isApplicable

      public boolean isApplicable(Class<? extends AbstractProject> aClass)
      Specified by:
      isApplicable in class BuildStepDescriptor<Publisher>
    • configure

      public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException
      Overrides:
      configure in class Descriptor<Publisher>
      Throws:
      Descriptor.FormException
    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<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