@Symbol(value="qyWechatNotification")
public class DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
| 构造器和说明 |
|---|
DescriptorImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.util.FormValidation |
doTestProxy(String proxyHost,
int proxyPort,
String proxyUsername,
String proxyPassword)
测试代理连接
|
String |
getDisplayName() |
String |
getHelpFile() |
String |
getMentionedId() |
String |
getMentionedMobile() |
String |
getProxyHost() |
String |
getProxyPassword() |
int |
getProxyPort() |
String |
getProxyUsername() |
String |
getTopicName() |
NotificationConfig |
getUnsaveConfig()
获取配置,不用于保存
|
String |
getWebhookUrl() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass) |
boolean |
isFailNotify() |
boolean |
isUseProxy() |
void |
setFailNotify(boolean failNotify) |
void |
setMentionedId(String mentionedId) |
void |
setMentionedMobile(String mentionedMobile) |
void |
setProxyHost(String proxyHost) |
void |
setProxyPassword(String proxyPassword) |
void |
setProxyPort(int proxyPort) |
void |
setProxyUsername(String proxyUsername) |
void |
setTopicName(String topicName) |
void |
setUseProxy(boolean useProxy) |
void |
setWebhookUrl(String webhookUrl) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic String getWebhookUrl()
public void setWebhookUrl(String webhookUrl)
public String getTopicName()
public void setTopicName(String topicName)
public String getMentionedId()
public void setMentionedId(String mentionedId)
public String getMentionedMobile()
public void setMentionedMobile(String mentionedMobile)
public boolean isUseProxy()
public void setUseProxy(boolean useProxy)
public boolean isFailNotify()
public void setFailNotify(boolean failNotify)
public String getProxyHost()
public void setProxyHost(String proxyHost)
public int getProxyPort()
public void setProxyPort(int proxyPort)
public String getProxyUsername()
public void setProxyUsername(String proxyUsername)
public String getProxyPassword()
public void setProxyPassword(String proxyPassword)
public NotificationConfig getUnsaveConfig()
public hudson.util.FormValidation doTestProxy(@QueryParameter
String proxyHost,
@QueryParameter
int proxyPort,
@QueryParameter
String proxyUsername,
@QueryParameter
String proxyPassword)
proxyHost - proxyPort - proxyUsername - proxyPassword - public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable 在类中 hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
configure 在类中 hudson.model.Descriptor<hudson.tasks.Publisher>hudson.model.Descriptor.FormExceptionpublic String getDisplayName()
getDisplayName 在类中 hudson.model.Descriptor<hudson.tasks.Publisher>public String getHelpFile()
getHelpFile 在类中 hudson.model.Descriptor<hudson.tasks.Publisher>Copyright © 2016–2019. All rights reserved.