@Extension
@Symbol(value="mattermostNotifier")
public static class MattermostNotifier.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.ListBoxModel |
doFillCommitInfoChoiceItems() |
hudson.util.FormValidation |
doTestConnection(String endpoint,
String room,
String icon,
String buildServerUrl) |
String |
getBuildServerUrl() |
String |
getDisplayName() |
hudson.util.Secret |
getEndpoint() |
String |
getIcon() |
hudson.util.Secret |
getProxyPassword() |
int |
getProxyPort() |
String |
getProxyServer() |
String |
getProxyUsername() |
String |
getRoom() |
String |
getSendAs() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass) |
boolean |
isUseCustomProxy() |
void |
setBuildServerUrl(String buildServerUrl) |
void |
setEndpoint(hudson.util.Secret endpoint) |
void |
setEndpoint(String endpoint) |
void |
setIcon(String icon) |
void |
setProxyPassword(hudson.util.Secret proxyPassword) |
void |
setProxyPassword(String proxyPassword) |
void |
setProxyPort(int proxyPort) |
void |
setProxyServer(String proxyServer) |
void |
setProxyUsername(String proxyUsername) |
void |
setRoom(String room) |
void |
setUseCustomProxy(boolean useCustomProxy) |
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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public boolean isUseCustomProxy()
public String getProxyServer()
public int getProxyPort()
public String getProxyUsername()
public hudson.util.Secret getProxyPassword()
@DataBoundSetter public void setUseCustomProxy(boolean useCustomProxy)
@DataBoundSetter public void setProxyServer(String proxyServer)
@DataBoundSetter public void setProxyPort(int proxyPort)
@DataBoundSetter public void setProxyUsername(String proxyUsername)
@DataBoundSetter public void setProxyPassword(hudson.util.Secret proxyPassword)
@DataBoundSetter public void setProxyPassword(String proxyPassword)
@DataBoundSetter public void setEndpoint(String endpoint)
@DataBoundSetter public void setEndpoint(hudson.util.Secret endpoint)
public hudson.util.Secret getEndpoint()
@DataBoundSetter public void setRoom(String room)
public String getRoom()
@DataBoundSetter public void setIcon(String icon)
public String getIcon()
@DataBoundSetter public void setBuildServerUrl(String buildServerUrl)
public String getBuildServerUrl()
public String getSendAs()
public hudson.util.ListBoxModel doFillCommitInfoChoiceItems()
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable
in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
configure
in class hudson.model.Descriptor<hudson.tasks.Publisher>
hudson.model.Descriptor.FormException
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.Publisher>
@POST public hudson.util.FormValidation doTestConnection(@QueryParameter(value="endpoint") String endpoint, @QueryParameter(value="room") String room, @QueryParameter(value="icon") String icon, @QueryParameter(value="buildServerUrl") String buildServerUrl) throws hudson.model.Descriptor.FormException
hudson.model.Descriptor.FormException
Copyright © 2016–2023. All rights reserved.