类 DingTalkGlobalConfig
- 所有已实现的接口:
Describable<DingTalkGlobalConfig>
,Saveable
,OnMaster
@Extension
@Symbol("dingtalk")
public class DingTalkGlobalConfig
extends Descriptor<DingTalkGlobalConfig>
implements Describable<DingTalkGlobalConfig>
全局配置
- 作者:
- liuwei
-
嵌套类概要
从类继承的嵌套类/接口 hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
字段概要
从类继承的字段 hudson.model.Descriptor
clazz
-
构造器概要
构造器说明DingTalkGlobalConfig
(DingTalkProxyConfig proxyConfig, boolean verbose, Set<String> noticeOccasions, ArrayList<DingTalkRobotConfig> robotConfigs) -
方法概要
修饰符和类型方法说明boolean
configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) 通知时机列表`网络代理` 配置页面`机器人` 配置页面static DingTalkGlobalConfig
获取全局配置信息getProxy()
获取网络代理static Optional
<DingTalkRobotConfig> void
setNoticeOccasions
(Set<String> noticeOccasions) void
setProxyConfig
(DingTalkProxyConfig proxyConfig) void
setRobotConfigs
(ArrayList<DingTalkRobotConfig> robotConfigs) void
setVerbose
(boolean verbose) 从类继承的方法 hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, 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
-
构造器详细资料
-
DingTalkGlobalConfig
@DataBoundConstructor public DingTalkGlobalConfig(DingTalkProxyConfig proxyConfig, boolean verbose, Set<String> noticeOccasions, ArrayList<DingTalkRobotConfig> robotConfigs) -
DingTalkGlobalConfig
public DingTalkGlobalConfig()
-
-
方法详细资料
-
getProxy
获取网络代理- 返回:
- proxy
-
setVerbose
@DataBoundSetter public void setVerbose(boolean verbose) -
setNoticeOccasions
-
setProxyConfig
-
setRobotConfigs
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException - 覆盖:
configure
在类中Descriptor<DingTalkGlobalConfig>
- 抛出:
Descriptor.FormException
-
getAllNoticeOccasions
通知时机列表- 返回:
- 通知时机
-
getDescriptor
- 指定者:
getDescriptor
在接口中Describable<DingTalkGlobalConfig>
-
getDingTalkProxyConfigDescriptor
`网络代理` 配置页面- 返回:
- 网络代理配置页面
-
getDingTalkRobotConfigDescriptor
`机器人` 配置页面- 返回:
- 机器人配置页面
-
getInstance
获取全局配置信息- 返回:
- 全局配置信息
-
getRobot
-