Enum Class的使用
com.alibaba.nacos.client.env.SourceType
使用SourceType的程序包
-
com.alibaba.nacos.client.env中SourceType的使用
修饰符和类型方法说明static SourceTypeReturns the enum constant of this class with the specified name.static SourceType[]SourceType.values()Returns an array containing the constants of this enum class, in the order they are declared.参数类型为SourceType的com.alibaba.nacos.client.env中的方法修饰符和类型方法说明NacosClientProperties.getProperties(SourceType source) get property from special property source.NacosClientProperties.getPropertyFrom(SourceType source, String key) get property from special property source.