类 DingTalkRobotConfig.DingTalkRobotConfigDescriptor
java.lang.Object
hudson.model.Descriptor<DingTalkRobotConfig>
io.jenkins.plugins.DingTalkRobotConfig.DingTalkRobotConfigDescriptor
- 封闭类:
DingTalkRobotConfig
@Extension
public static class DingTalkRobotConfig.DingTalkRobotConfigDescriptor
extends Descriptor<DingTalkRobotConfig>
-
嵌套类概要
从类继承的嵌套类/接口 hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
字段概要
从类继承的字段 hudson.model.Descriptor
clazz
-
构造器概要
-
方法概要
修饰符和类型方法说明doCheckName
(String value) name 字段必填doCheckWebhook
(String value) webhook 字段必填测试配置信息获取默认的安全配置选项安全配置页面从类继承的方法 hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
构造器详细资料
-
DingTalkRobotConfigDescriptor
public DingTalkRobotConfigDescriptor()
-
-
方法详细资料
-
getDingTalkSecurityPolicyConfigDescriptor
public DingTalkSecurityPolicyConfig.DingTalkSecurityPolicyConfigDescriptor getDingTalkSecurityPolicyConfigDescriptor()安全配置页面- 返回:
- 安全策略配置页面
-
getDefaultSecurityPolicyConfigs
获取默认的安全配置选项- 返回:
- 默认的安全配置选项
-
doCheckName
name 字段必填- 参数:
value
- name- 返回:
- 是否校验成功
-
doCheckWebhook
webhook 字段必填- 参数:
value
- webhook- 返回:
- 是否校验成功
-
doTest
public FormValidation doTest(@QueryParameter("id") String id, @QueryParameter("name") String name, @QueryParameter("webhook") String webhook, @QueryParameter("securityPolicyConfigs") String securityPolicyConfigStr, @QueryParameter("proxy") String proxyStr) 测试配置信息- 参数:
id
- idname
- 名称webhook
- webhooksecurityPolicyConfigStr
- 安全策略proxyStr
- 代理- 返回:
- 机器人配置是否正确
-