| 程序包 | 说明 |
|---|---|
| com.alipay.remoting.config.configs |
| 限定符和类型 | 方法和说明 |
|---|---|
static ConfigItem |
ConfigItem.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ConfigItem[] |
ConfigItem.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
ConfigContainer.contains(ConfigType configType,
ConfigItem configItem)
check whether a config item of a certain config type exist.
|
boolean |
DefaultConfigContainer.contains(ConfigType configType,
ConfigItem configItem) |
<T> T |
ConfigContainer.get(ConfigType configType,
ConfigItem configItem)
try to get config value using config type and config item.
|
<T> T |
DefaultConfigContainer.get(ConfigType configType,
ConfigItem configItem) |
void |
ConfigContainer.set(ConfigType configType,
ConfigItem configItem,
Object value)
init a config item with certain config type, and the value can be any type.
|
void |
DefaultConfigContainer.set(ConfigType configType,
ConfigItem configItem,
Object value) |
Copyright © 2020. All rights reserved.