@Extension
public static class MattermostNotifier.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
| Modifier and Type | Field and Description |
|---|---|
static CommitInfoChoice[] |
COMMIT_INFO_CHOICES |
| Constructor and Description |
|---|
DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.util.FormValidation |
doTestConnection(String endpoint,
String room,
String icon,
String buildServerUrl) |
String |
getBuildServerUrl() |
String |
getDisplayName() |
String |
getEndpoint() |
String |
getIcon() |
String |
getRoom() |
String |
getSendAs() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass) |
MattermostNotifier |
newInstance(org.kohsuke.stapler.StaplerRequest sr,
net.sf.json.JSONObject json) |
void |
setBuildServerUrl(String buildServerUrl) |
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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic static final CommitInfoChoice[] COMMIT_INFO_CHOICES
@DataBoundSetter public void setEndpoint(String endpoint)
public String 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 boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>public MattermostNotifier newInstance(org.kohsuke.stapler.StaplerRequest sr, net.sf.json.JSONObject json)
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
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>public hudson.util.FormValidation doTestConnection(@QueryParameter(value="mattermostEndpoint")
String endpoint,
@QueryParameter(value="mattermostRoom")
String room,
@QueryParameter(value="mattermostIcon")
String icon,
@QueryParameter(value="mattermostBuildServerUrl")
String buildServerUrl)
throws hudson.model.Descriptor.FormException
hudson.model.Descriptor.FormExceptionCopyright © 2016–2018. All rights reserved.