@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() |
String |
getRoom() |
String |
getSendAs() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass) |
void |
setBuildServerUrl(String buildServerUrl) |
void |
setEndpoint(hudson.util.Secret endpoint) |
void |
setEndpoint(String endpoint) |
void |
setIcon(String icon) |
void |
setRoom(String room) |
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@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.FormExceptionpublic 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.FormExceptionCopyright © 2016–2019. All rights reserved.