Index

A B C D G H J L M N O R S 
All Classes and Interfaces|All Packages

A

AbstractConfigSource - Class in cool.scx.config.source
AbstractConfigSource
AbstractConfigSource() - Constructor for class cool.scx.config.source.AbstractConfigSource
 
AppRootHandler - Class in cool.scx.config.handler
AppRootHandler
appRootPath() - Method in class cool.scx.config.ScxEnvironment
 
ArgsConfigSource - Class in cool.scx.config.source
ArgsConfigSource

B

bindOnChange(ScxConfigSource...) - Method in class cool.scx.config.source.MultiConfigSource
 
bindOnChange(Path) - Method in class cool.scx.config.source.JsonFileConfigSource
 

C

callOnChange(ObjectNode, ObjectNode) - Method in class cool.scx.config.source.AbstractConfigSource
 
configMapping - Variable in class cool.scx.config.source.AbstractConfigSource
 
configMapping() - Method in interface cool.scx.config.ScxConfigSource
 
configMapping() - Method in class cool.scx.config.source.AbstractConfigSource
 
ConvertValueHandler<T> - Class in cool.scx.config.handler
ConvertValueHandler
cool.scx.config - package cool.scx.config
 
cool.scx.config.handler - package cool.scx.config.handler
 
cool.scx.config.source - package cool.scx.config.source
 

D

DecryptValueHandler - Class in cool.scx.config.handler
DecryptValueHandler
defaultValue() - Method in interface cool.scx.config.ScxFeature
默认值
DefaultValueHandler<T> - Class in cool.scx.config.handler
DefaultValueHandler

G

get(ScxFeature<T>) - Method in class cool.scx.config.ScxFeatureConfig
获取特性的值 如果没有显式设置 则返回默认值
get(String) - Method in class cool.scx.config.ScxConfig
从配置文件中获取配置值 没有找到会返回 null
get(String, ScxConfigValueHandler<T>) - Method in class cool.scx.config.ScxConfig
 
get(String, Class<T>) - Method in class cool.scx.config.ScxConfig
 
getOrDefault(String, T) - Method in class cool.scx.config.ScxConfig
 
getPathByAppRoot(String) - Method in class cool.scx.config.ScxEnvironment
 
getTempPath() - Method in class cool.scx.config.ScxEnvironment
获取临时路径
getTempPath(String...) - Method in class cool.scx.config.ScxEnvironment
获取临时路径

H

handle(String, JsonNode) - Method in class cool.scx.config.handler.AppRootHandler
 
handle(String, JsonNode) - Method in class cool.scx.config.handler.ConvertValueHandler
 
handle(String, JsonNode) - Method in class cool.scx.config.handler.DecryptValueHandler
 
handle(String, JsonNode) - Method in class cool.scx.config.handler.DefaultValueHandler
 
handle(String, JsonNode) - Method in interface cool.scx.config.ScxConfigValueHandler
 

J

JsonFileConfigSource - Class in cool.scx.config.source
JsonFileConfigSource

L

loadFromArgs(String...) - Static method in class cool.scx.config.source.ArgsConfigSource
 
loadFromJsonFile(Path) - Static method in class cool.scx.config.source.JsonFileConfigSource
 
loadFromMap(Map<String, Object>) - Static method in class cool.scx.config.source.MapConfigSource
 
loadFromSources(ScxConfigSource...) - Static method in class cool.scx.config.source.MultiConfigSource
 

M

MapConfigSource - Class in cool.scx.config.source
MapConfigSource
MultiConfigSource - Class in cool.scx.config.source
MultiConfigSource
MultiConfigSource(ScxConfigSource...) - Constructor for class cool.scx.config.source.MultiConfigSource
 

N

name() - Method in interface cool.scx.config.ScxFeature
a

O

of(TypeReference<H>) - Static method in class cool.scx.config.handler.ConvertValueHandler
 
of(ScxEnvironment) - Static method in class cool.scx.config.handler.AppRootHandler
 
of(ScxEnvironment, String) - Static method in class cool.scx.config.handler.AppRootHandler
 
of(ScxEnvironment, Path) - Static method in class cool.scx.config.handler.AppRootHandler
 
of(H) - Static method in class cool.scx.config.handler.DefaultValueHandler
 
of(Class<H>) - Static method in class cool.scx.config.handler.ConvertValueHandler
 
of(String) - Static method in class cool.scx.config.handler.DecryptValueHandler
 
of(String...) - Static method in class cool.scx.config.source.ArgsConfigSource
 
of(Path) - Static method in class cool.scx.config.source.JsonFileConfigSource
 
of(Map<String, Object>) - Static method in class cool.scx.config.source.MapConfigSource
 
onChange(BiConsumer<ObjectNode, ObjectNode>) - Method in interface cool.scx.config.ScxConfigSource
 
onChange(BiConsumer<ObjectNode, ObjectNode>) - Method in class cool.scx.config.source.AbstractConfigSource
 

R

remove(ScxFeature<T>) - Method in class cool.scx.config.ScxFeatureConfig
 

S

ScxConfig - Class in cool.scx.config
配置文件类
ScxConfig(ScxConfigSource...) - Constructor for class cool.scx.config.ScxConfig
 
ScxConfigSource - Interface in cool.scx.config
配置源
ScxConfigValueHandler<T> - Interface in cool.scx.config
ScxConfigValueHandler
ScxEnvironment - Class in cool.scx.config
项目环境
ScxEnvironment(Class<?>) - Constructor for class cool.scx.config.ScxEnvironment
根据 class 推断 class 根目录
ScxFeature<T> - Interface in cool.scx.config
ScxFeature
ScxFeatureConfig - Class in cool.scx.config
ScxFeatureConfig
ScxFeatureConfig() - Constructor for class cool.scx.config.ScxFeatureConfig
 
set(ScxFeature<T>, T) - Method in class cool.scx.config.ScxFeatureConfig
 
A B C D G H J L M N O R S 
All Classes and Interfaces|All Packages