Index

A B C D E F G H I K L M N O P R S T U V W Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addClasspathResource(String) - Method in class cloud.opencode.base.config.ConfigBuilder
Add classpath resource 添加类路径资源
addClasspathResources(String...) - Method in class cloud.opencode.base.config.ConfigBuilder
Add multiple classpath resources 添加多个类路径资源
addCommandLineArgs(String[]) - Method in class cloud.opencode.base.config.ConfigBuilder
Add command line arguments 添加命令行参数
added(String, String) - Static method in record class cloud.opencode.base.config.ConfigChangeEvent
Create configuration added event 创建配置添加事件
ADDED - Enum constant in enum class cloud.opencode.base.config.ConfigChangeEvent.ChangeType
Configuration added | 配置添加
ADDED - Enum constant in enum class cloud.opencode.base.config.ConfigChangeType
New configuration key added 新增配置键
addEnvironmentVariables() - Method in class cloud.opencode.base.config.ConfigBuilder
Add environment variables 添加环境变量
addEnvironmentVariables(String) - Method in class cloud.opencode.base.config.ConfigBuilder
Add environment variables with prefix filter 添加环境变量(带前缀过滤)
addFile(Path) - Method in class cloud.opencode.base.config.ConfigBuilder
Add file 添加文件
addFiles(Path...) - Method in class cloud.opencode.base.config.ConfigBuilder
Add multiple files 添加多个文件
addListener(ConfigListener) - Method in interface cloud.opencode.base.config.Config
Add configuration change listener 添加配置变更监听器
addListener(ConfigListener) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
addListener(ConfigListener) - Method in class cloud.opencode.base.config.jdk25.VirtualThreadConfigWatcher
 
addListener(String, ConfigListener) - Method in interface cloud.opencode.base.config.Config
Add listener for specific configuration key 添加指定键的监听器
addListener(String, ConfigListener) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
addProperties(Map) - Method in class cloud.opencode.base.config.ConfigBuilder
Add properties map 添加属性映射
addSource(ConfigSource) - Method in class cloud.opencode.base.config.ConfigBuilder
Add custom configuration source 添加自定义配置源
addSystemProperties() - Method in class cloud.opencode.base.config.ConfigBuilder
Add system properties 添加系统属性
addValidator(ConfigValidator) - Method in class cloud.opencode.base.config.ConfigBuilder
Add validator 添加验证器

B

bind(String, Class) - Method in class cloud.opencode.base.config.bind.ConfigBinder
Bind configuration to new instance 绑定配置到新实例
bind(String, Class) - Method in class cloud.opencode.base.config.bind.RecordConfigBinder
 
bind(String, Class) - Method in interface cloud.opencode.base.config.Config
Bind configuration to POJO/Record 绑定配置到POJO/Record
bind(String, Class) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
bind(String, Class) - Static method in class cloud.opencode.base.config.OpenConfig
 
bindFailed(String, Class, Throwable) - Static method in exception class cloud.opencode.base.config.OpenConfigException
Configuration binding failed 配置绑定失败
bindTo(String, T) - Method in class cloud.opencode.base.config.bind.ConfigBinder
Bind configuration to existing instance 绑定配置到现有实例
bindTo(String, T) - Method in interface cloud.opencode.base.config.Config
Bind configuration to existing object 绑定配置到现有对象
bindTo(String, T) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
bindTo(String, T) - Static method in class cloud.opencode.base.config.OpenConfig
 
build() - Method in class cloud.opencode.base.config.ConfigBuilder
Build configuration 构建配置
builder() - Static method in class cloud.opencode.base.config.OpenConfig
Create configuration builder 创建配置构建器

C

canEvaluate(String) - Static method in class cloud.opencode.base.config.placeholder.ExpressionEvaluator
 
changeType() - Method in record class cloud.opencode.base.config.ConfigChangeEvent
Returns the value of the changeType record component.
Classpath(String) - Constructor for record class cloud.opencode.base.config.jdk25.ConfigSourceType.Classpath
Creates an instance of a Classpath record class.
clear() - Method in class cloud.opencode.base.config.source.InMemoryConfigSource
Clear all properties 清除所有属性
clearAllCaches() - Method in class cloud.opencode.base.config.advanced.TenantConfigManager
Clear all cached configurations 清除所有缓存配置
clearCache(String) - Method in class cloud.opencode.base.config.advanced.TenantConfigManager
Clear cached configuration for tenant 清除租户的缓存配置
close() - Method in class cloud.opencode.base.config.jdk25.VirtualThreadConfigWatcher
 
cloud.opencode.base.config - module cloud.opencode.base.config
OpenCode Base Config Module OpenCode 基础配置模块
cloud.opencode.base.config - package cloud.opencode.base.config
Configuration Management Core Package 配置管理核心包
cloud.opencode.base.config.advanced - package cloud.opencode.base.config.advanced
Advanced Features and SPI Extension Package 高级功能和SPI扩展包
cloud.opencode.base.config.bind - package cloud.opencode.base.config.bind
Configuration Binding Package 配置绑定包
cloud.opencode.base.config.converter - package cloud.opencode.base.config.converter
Type Converters Package 类型转换器包
cloud.opencode.base.config.jdk25 - package cloud.opencode.base.config.jdk25
JDK 25 Enhanced Features Package JDK 25增强特性包
cloud.opencode.base.config.placeholder - package cloud.opencode.base.config.placeholder
Placeholder Resolution Package 占位符解析包
cloud.opencode.base.config.source - package cloud.opencode.base.config.source
Configuration Sources Package 配置源包
cloud.opencode.base.config.validation - package cloud.opencode.base.config.validation
Configuration Validation Package 配置验证包
combine(ConfigValidator...) - Static method in class cloud.opencode.base.config.validation.ValidationModuleAdapter
Combines multiple validators into one.
CommandLineConfigSource - Class in cloud.opencode.base.config.source
Command Line Arguments Configuration Source 命令行参数配置源
CommandLineConfigSource(String[]) - Constructor for class cloud.opencode.base.config.source.CommandLineConfigSource
Create command line config source 创建命令行配置源
CompositeConfigSource - Class in cloud.opencode.base.config.source
Composite Configuration Source 组合配置源
CompositeConfigSource(List) - Constructor for class cloud.opencode.base.config.source.CompositeConfigSource
Create composite config source 创建组合配置源
Config - Interface in cloud.opencode.base.config
Unified Configuration Access Interface 统一配置访问接口
ConfigBinder - Class in cloud.opencode.base.config.bind
Configuration Binder 配置绑定器
ConfigBinder(Config, ConverterRegistry) - Constructor for class cloud.opencode.base.config.bind.ConfigBinder
 
ConfigBuilder - Class in cloud.opencode.base.config
Configuration Builder 配置构建器
ConfigBuilder() - Constructor for class cloud.opencode.base.config.ConfigBuilder
 
ConfigChangeEvent - Record Class in cloud.opencode.base.config
Configuration Change Event 配置变更事件
ConfigChangeEvent(String, String, String, ConfigChangeEvent.ChangeType, Instant) - Constructor for record class cloud.opencode.base.config.ConfigChangeEvent
Creates an instance of a ConfigChangeEvent record class.
ConfigChangeEvent.ChangeType - Enum Class in cloud.opencode.base.config
Configuration Change Type 配置变更类型
ConfigChangeType - Enum Class in cloud.opencode.base.config
Configuration Change Type Enumeration 配置变更类型枚举
ConfigContext - Class in cloud.opencode.base.config.jdk25
Configuration Context using JDK 25 Scoped Values 使用JDK 25作用域值的配置上下文
ConfigConverter<T> - Interface in cloud.opencode.base.config.converter
Configuration Type Converter Interface 配置类型转换器接口
ConfigConverterProvider - Interface in cloud.opencode.base.config.advanced
Configuration Converter Provider SPI 配置转换器提供者SPI
configKey() - Method in exception class cloud.opencode.base.config.OpenConfigException
Get configuration key 获取配置键
ConfigListener - Interface in cloud.opencode.base.config
Configuration Change Listener 配置变更监听器
ConfigProperties - Annotation Interface in cloud.opencode.base.config.bind
Configuration Properties Annotation 配置属性注解
configSource() - Method in exception class cloud.opencode.base.config.OpenConfigException
Get configuration source 获取配置源
ConfigSource - Interface in cloud.opencode.base.config.source
Configuration Source Interface 配置源接口
ConfigSourceFactory - Class in cloud.opencode.base.config.advanced
Configuration Source Factory 配置源工厂
ConfigSourceFactory() - Constructor for class cloud.opencode.base.config.advanced.ConfigSourceFactory
 
ConfigSourceProcessor - Class in cloud.opencode.base.config.jdk25
Configuration Source Processor with Pattern Matching 配置源处理器(使用模式匹配)
ConfigSourceProcessor() - Constructor for class cloud.opencode.base.config.jdk25.ConfigSourceProcessor
 
ConfigSourceProvider - Interface in cloud.opencode.base.config.advanced
Configuration Source Provider SPI 配置源提供者SPI
ConfigSourceType - Interface in cloud.opencode.base.config.jdk25
Sealed Configuration Source Type for JDK 25 JDK 25的密封配置源类型
ConfigSourceType.Classpath - Record Class in cloud.opencode.base.config.jdk25
 
ConfigSourceType.Environment - Record Class in cloud.opencode.base.config.jdk25
 
ConfigSourceType.File - Record Class in cloud.opencode.base.config.jdk25
 
ConfigSourceType.InMemory - Record Class in cloud.opencode.base.config.jdk25
 
ConfigSourceType.System - Record Class in cloud.opencode.base.config.jdk25
 
ConfigValidator - Interface in cloud.opencode.base.config.validation
Configuration Validator Interface 配置验证器接口
ContextAwareConfig - Class in cloud.opencode.base.config.jdk25
Context-Aware Configuration 上下文感知配置
ContextAwareConfig(Config) - Constructor for class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
conversionFailed(String, String, Class) - Static method in exception class cloud.opencode.base.config.OpenConfigException
Type conversion failed 类型转换失败
conversionFailed(String, String, Class, Throwable) - Static method in exception class cloud.opencode.base.config.OpenConfigException
Type conversion failed with cause 类型转换失败(带原因)
convert(String) - Method in interface cloud.opencode.base.config.converter.ConfigConverter
Convert string value to target type 将字符串值转换为目标类型
convert(String, Class) - Method in class cloud.opencode.base.config.converter.ConverterRegistry
Convert string value to target type 将字符串值转换为目标类型
converterNotFound(Class) - Static method in exception class cloud.opencode.base.config.OpenConfigException
Converter not found for type 类型转换器未找到
ConverterRegistry - Class in cloud.opencode.base.config.converter
Type Converter Registry 类型转换器注册表
ConverterRegistry() - Constructor for class cloud.opencode.base.config.converter.ConverterRegistry
 
create() - Method in interface cloud.opencode.base.config.advanced.ConfigConverterProvider
Create the converter instance 创建转换器实例
create(String) - Static method in class cloud.opencode.base.config.advanced.ConfigSourceFactory
 
create(String, Map) - Static method in class cloud.opencode.base.config.advanced.ConfigSourceFactory
 
create(String, Map) - Method in interface cloud.opencode.base.config.advanced.ConfigSourceProvider
Create configuration source for the given URI 为给定的URI创建配置源
create(String, Map) - Method in class cloud.opencode.base.config.advanced.HttpConfigSourceProvider
 
createEncryptedConfig(Config, SecretKey) - Static method in class cloud.opencode.base.config.advanced.EncryptedConfigProcessor
 
currentOverrides() - Static method in class cloud.opencode.base.config.jdk25.ConfigContext
Get current configuration overrides 获取当前配置覆盖
currentProfile() - Static method in class cloud.opencode.base.config.jdk25.ConfigContext
Get current profile 获取当前环境
currentTenant() - Static method in class cloud.opencode.base.config.jdk25.ConfigContext
Get current tenant ID 获取当前租户ID

D

decryptionFailed(Throwable) - Static method in exception class cloud.opencode.base.config.OpenConfigException
Configuration decryption failed 配置解密失败
defaults() - Static method in class cloud.opencode.base.config.converter.ConverterRegistry
Create default converter registry 创建默认转换器注册表
DefaultValue - Annotation Interface in cloud.opencode.base.config.jdk25
Default Value Annotation for Record Components Record组件的默认值注解
disablePlaceholders() - Method in class cloud.opencode.base.config.ConfigBuilder
Disable placeholder resolution 禁用占位符解析

E

email(String) - Static method in class cloud.opencode.base.config.validation.PatternValidator
Create email validator 创建邮箱验证器
EMAIL_PATTERN - Static variable in class cloud.opencode.base.config.validation.PatternValidator
Email pattern | 邮箱模式
enableHotReload() - Method in class cloud.opencode.base.config.ConfigBuilder
Enable hot reload 启用热重载
encrypt(String, SecretKey) - Static method in class cloud.opencode.base.config.advanced.EncryptedConfigProcessor
Encrypts a plaintext value using AES/GCM with a random IV.
EncryptedConfigProcessor - Class in cloud.opencode.base.config.advanced
Encrypted Configuration Processor 加密配置处理器
EncryptedConfigProcessor() - Constructor for class cloud.opencode.base.config.advanced.EncryptedConfigProcessor
 
Environment() - Constructor for record class cloud.opencode.base.config.jdk25.ConfigSourceType.Environment
 
Environment(String) - Constructor for record class cloud.opencode.base.config.jdk25.ConfigSourceType.Environment
Creates an instance of a Environment record class.
EnvironmentConfigSource - Class in cloud.opencode.base.config.source
Environment Variables Configuration Source 环境变量配置源
EnvironmentConfigSource() - Constructor for class cloud.opencode.base.config.source.EnvironmentConfigSource
Create environment config source without prefix 创建无前缀的环境配置源
EnvironmentConfigSource(String) - Constructor for class cloud.opencode.base.config.source.EnvironmentConfigSource
Create environment config source with prefix 创建带前缀的环境配置源
equals(Object) - Method in record class cloud.opencode.base.config.ConfigChangeEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.Classpath
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.Environment
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.File
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.InMemory
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.System
Indicates whether some other object is "equal to" this one.
evaluate(String) - Static method in class cloud.opencode.base.config.placeholder.ExpressionEvaluator
 
ExpressionEvaluator - Class in cloud.opencode.base.config.placeholder
Expression Evaluator for Advanced Placeholder Syntax 高级占位符语法的表达式求值器
ExpressionEvaluator() - Constructor for class cloud.opencode.base.config.placeholder.ExpressionEvaluator
 

F

fieldBindFailed(String, Throwable) - Static method in exception class cloud.opencode.base.config.OpenConfigException
Field binding failed 字段绑定失败
File(Path) - Constructor for record class cloud.opencode.base.config.jdk25.ConfigSourceType.File
 
File(Path, boolean) - Constructor for record class cloud.opencode.base.config.jdk25.ConfigSourceType.File
Creates an instance of a File record class.
forObject(Class, String) - Static method in class cloud.opencode.base.config.validation.ValidationModuleAdapter
Creates a ConfigValidator that validates bound config objects.
forPatterns(Map) - Static method in class cloud.opencode.base.config.validation.ValidationModuleAdapter
Creates a ConfigValidator that validates values against patterns.
forRequiredKeys(String...) - Static method in class cloud.opencode.base.config.validation.ValidationModuleAdapter
Creates a ConfigValidator for required keys with validation annotations.

G

get() - Method in class cloud.opencode.base.config.jdk25.ReactiveConfigValue
 
get(String, Class) - Method in interface cloud.opencode.base.config.Config
Get typed configuration value 获取指定类型配置值
get(String, Class) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
get(String, Class) - Static method in class cloud.opencode.base.config.OpenConfig
 
get(String, Class, T) - Method in interface cloud.opencode.base.config.Config
Get typed configuration value with default 获取指定类型配置值(带默认值)
get(String, Class, T) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
get(String, Class, T) - Static method in class cloud.opencode.base.config.OpenConfig
 
get(String, String, Class) - Method in class cloud.opencode.base.config.advanced.TenantConfigManager
Get typed configuration value for tenant 获取租户的类型化配置值
getBoolean(String) - Method in interface cloud.opencode.base.config.Config
Get boolean configuration value 获取布尔配置值
getBoolean(String) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getBoolean(String) - Static method in class cloud.opencode.base.config.OpenConfig
 
getBoolean(String, boolean) - Method in interface cloud.opencode.base.config.Config
Get boolean configuration value with default 获取布尔配置值(带默认值)
getBoolean(String, boolean) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getBoolean(String, boolean) - Static method in class cloud.opencode.base.config.OpenConfig
 
getByPrefix(String) - Method in interface cloud.opencode.base.config.Config
Get all configurations with specified prefix 获取指定前缀的所有配置
getByPrefix(String) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getByPrefix(String) - Static method in class cloud.opencode.base.config.OpenConfig
 
getConfig(String) - Method in class cloud.opencode.base.config.advanced.TenantConfigManager
Get configuration for tenant 获取租户的配置
getDouble(String) - Method in interface cloud.opencode.base.config.Config
Get double configuration value 获取双精度配置值
getDouble(String) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getDouble(String) - Static method in class cloud.opencode.base.config.OpenConfig
 
getDouble(String, double) - Method in interface cloud.opencode.base.config.Config
Get double configuration value with default 获取双精度配置值(带默认值)
getDouble(String, double) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getDouble(String, double) - Static method in class cloud.opencode.base.config.OpenConfig
 
getDuration(String) - Method in interface cloud.opencode.base.config.Config
Get Duration configuration value 获取Duration配置值
getDuration(String) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getDuration(String) - Static method in class cloud.opencode.base.config.OpenConfig
 
getDuration(String, Duration) - Method in interface cloud.opencode.base.config.Config
Get Duration configuration value with default 获取Duration配置值(带默认值)
getDuration(String, Duration) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getDuration(String, Duration) - Static method in class cloud.opencode.base.config.OpenConfig
 
getErrorMessage() - Method in class cloud.opencode.base.config.validation.PatternValidator
Get the error message 获取错误消息
getErrors() - Method in class cloud.opencode.base.config.validation.ValidationResult
Get validation errors 获取验证错误
getGlobal() - Static method in class cloud.opencode.base.config.OpenConfig
Get global configuration instance 获取全局配置实例
getInt(String) - Method in interface cloud.opencode.base.config.Config
Get integer configuration value 获取整数配置值
getInt(String) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getInt(String) - Static method in class cloud.opencode.base.config.OpenConfig
 
getInt(String, int) - Method in interface cloud.opencode.base.config.Config
Get integer configuration value with default 获取整数配置值(带默认值)
getInt(String, int) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getInt(String, int) - Static method in class cloud.opencode.base.config.OpenConfig
 
getKeys() - Method in interface cloud.opencode.base.config.Config
Get all configuration keys 获取所有配置键
getKeys() - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getKeys() - Static method in class cloud.opencode.base.config.OpenConfig
 
getList(String, Class) - Method in interface cloud.opencode.base.config.Config
Get list configuration value 获取列表配置值
getList(String, Class) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getList(String, Class) - Static method in class cloud.opencode.base.config.OpenConfig
 
getLong(String) - Method in interface cloud.opencode.base.config.Config
Get long configuration value 获取长整数配置值
getLong(String) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getLong(String) - Static method in class cloud.opencode.base.config.OpenConfig
 
getLong(String, long) - Method in interface cloud.opencode.base.config.Config
Get long configuration value with default 获取长整数配置值(带默认值)
getLong(String, long) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getLong(String, long) - Static method in class cloud.opencode.base.config.OpenConfig
 
getMap(String, Class, Class) - Method in interface cloud.opencode.base.config.Config
Get map configuration value 获取映射配置值
getMap(String, Class, Class) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getMap(String, Class, Class) - Static method in class cloud.opencode.base.config.OpenConfig
 
getName() - Method in class cloud.opencode.base.config.source.CommandLineConfigSource
 
getName() - Method in class cloud.opencode.base.config.source.CompositeConfigSource
 
getName() - Method in interface cloud.opencode.base.config.source.ConfigSource
Get configuration source name 获取配置源名称
getName() - Method in class cloud.opencode.base.config.source.EnvironmentConfigSource
 
getName() - Method in class cloud.opencode.base.config.source.InMemoryConfigSource
 
getName() - Method in class cloud.opencode.base.config.source.PropertiesConfigSource
 
getName() - Method in class cloud.opencode.base.config.source.SystemPropertiesConfigSource
 
getName() - Method in class cloud.opencode.base.config.source.YamlConfigSource
 
getOptional(String) - Method in interface cloud.opencode.base.config.Config
Get optional string configuration value 获取Optional字符串配置值
getOptional(String) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getOptional(String) - Static method in class cloud.opencode.base.config.OpenConfig
 
getOptional(String, Class) - Method in interface cloud.opencode.base.config.Config
Get optional typed configuration value 获取Optional类型配置值
getOptional(String, Class) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getOptional(String, Class) - Static method in class cloud.opencode.base.config.OpenConfig
 
getPattern() - Method in class cloud.opencode.base.config.validation.PatternValidator
Get the compiled pattern 获取编译的模式
getPriority() - Method in class cloud.opencode.base.config.source.CommandLineConfigSource
 
getPriority() - Method in class cloud.opencode.base.config.source.CompositeConfigSource
 
getPriority() - Method in interface cloud.opencode.base.config.source.ConfigSource
Get configuration source priority (higher number = higher priority) 获取配置源优先级(数值越大优先级越高)
getPriority() - Method in class cloud.opencode.base.config.source.EnvironmentConfigSource
 
getPriority() - Method in class cloud.opencode.base.config.source.InMemoryConfigSource
 
getPriority() - Method in class cloud.opencode.base.config.source.PropertiesConfigSource
 
getPriority() - Method in class cloud.opencode.base.config.source.SystemPropertiesConfigSource
 
getPriority() - Method in class cloud.opencode.base.config.source.YamlConfigSource
 
getProperties() - Method in class cloud.opencode.base.config.source.CommandLineConfigSource
 
getProperties() - Method in class cloud.opencode.base.config.source.CompositeConfigSource
 
getProperties() - Method in interface cloud.opencode.base.config.source.ConfigSource
Get all configuration properties 获取所有配置属性
getProperties() - Method in class cloud.opencode.base.config.source.EnvironmentConfigSource
 
getProperties() - Method in class cloud.opencode.base.config.source.InMemoryConfigSource
 
getProperties() - Method in class cloud.opencode.base.config.source.PropertiesConfigSource
 
getProperties() - Method in class cloud.opencode.base.config.source.SystemPropertiesConfigSource
 
getProperties() - Method in class cloud.opencode.base.config.source.YamlConfigSource
 
getProperty(String) - Method in interface cloud.opencode.base.config.source.ConfigSource
Get configuration value by key 根据键获取配置值
getSources() - Method in class cloud.opencode.base.config.source.CompositeConfigSource
Get all underlying sources 获取所有底层源
getString(String) - Method in interface cloud.opencode.base.config.Config
Get string configuration value 获取字符串配置值
getString(String) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getString(String) - Static method in class cloud.opencode.base.config.OpenConfig
 
getString(String, String) - Method in interface cloud.opencode.base.config.Config
Get string configuration value with default 获取字符串配置值(带默认值)
getString(String, String) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getString(String, String) - Static method in class cloud.opencode.base.config.OpenConfig
 
getSubConfig(String) - Method in interface cloud.opencode.base.config.Config
Get sub-configuration by prefix 根据前缀获取子配置
getSubConfig(String) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
getSubConfig(String) - Static method in class cloud.opencode.base.config.OpenConfig
 
getType() - Method in interface cloud.opencode.base.config.converter.ConfigConverter
Get supported target type (optional) 获取支持的目标类型(可选)

H

hasConverter(Class) - Method in class cloud.opencode.base.config.converter.ConverterRegistry
Check if converter exists for type 检查类型是否存在转换器
hashCode() - Method in record class cloud.opencode.base.config.ConfigChangeEvent
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.Classpath
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.Environment
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.File
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.InMemory
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.System
Returns a hash code value for this object.
hasKey(String) - Method in interface cloud.opencode.base.config.Config
Check if configuration key exists 检查配置键是否存在
hasKey(String) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
hasKey(String) - Static method in class cloud.opencode.base.config.OpenConfig
 
hotReloadInterval(Duration) - Method in class cloud.opencode.base.config.ConfigBuilder
Set hot reload interval 设置热重载间隔
HttpConfigSourceProvider - Class in cloud.opencode.base.config.advanced
HTTP Configuration Source Provider HTTP配置源提供者
HttpConfigSourceProvider() - Constructor for class cloud.opencode.base.config.advanced.HttpConfigSourceProvider
 

I

InMemory(Map) - Constructor for record class cloud.opencode.base.config.jdk25.ConfigSourceType.InMemory
Creates an instance of a InMemory record class.
InMemoryConfigSource - Class in cloud.opencode.base.config.source
In-Memory Configuration Source 内存配置源
InMemoryConfigSource() - Constructor for class cloud.opencode.base.config.source.InMemoryConfigSource
Create empty in-memory config source 创建空的内存配置源
InMemoryConfigSource(String, Map) - Constructor for class cloud.opencode.base.config.source.InMemoryConfigSource
Create named in-memory config source 创建命名的内存配置源
InMemoryConfigSource(Map) - Constructor for class cloud.opencode.base.config.source.InMemoryConfigSource
Create in-memory config source with initial properties 创建带初始属性的内存配置源
invalid(String) - Static method in class cloud.opencode.base.config.validation.ValidationResult
Create invalid result with single error 创建带单个错误的无效结果
invalid(List) - Static method in class cloud.opencode.base.config.validation.ValidationResult
Create invalid result with multiple errors 创建带多个错误的无效结果
invalidBoolean(String) - Static method in exception class cloud.opencode.base.config.OpenConfigException
Invalid boolean value 无效布尔值
invalidUrl(String, Throwable) - Static method in exception class cloud.opencode.base.config.OpenConfigException
Invalid URL 无效URL
ipv4(String) - Static method in class cloud.opencode.base.config.validation.PatternValidator
Create IPv4 validator 创建IPv4验证器
IPV4_PATTERN - Static variable in class cloud.opencode.base.config.validation.PatternValidator
IPv4 pattern | IPv4模式
isAdded() - Method in record class cloud.opencode.base.config.ConfigChangeEvent
Check if configuration was added 检查是否为配置添加
isModified() - Method in record class cloud.opencode.base.config.ConfigChangeEvent
Check if configuration was modified 检查是否为配置修改
isRemoved() - Method in record class cloud.opencode.base.config.ConfigChangeEvent
Check if configuration was removed 检查是否为配置删除
isValid() - Method in class cloud.opencode.base.config.validation.ValidationResult
Check if validation passed 检查验证是否通过
isValidationModuleAvailable() - Static method in class cloud.opencode.base.config.validation.ValidationModuleAdapter
Checks if the Validation module is available.
isYamlSupported() - Static method in class cloud.opencode.base.config.source.YamlConfigSource
Check if YAML support is available 检查YAML支持是否可用

K

key() - Method in record class cloud.opencode.base.config.ConfigChangeEvent
Returns the value of the key record component.
keyNotFound(String) - Static method in exception class cloud.opencode.base.config.OpenConfigException
Configuration key not found 配置键未找到

L

load(String[]) - Static method in class cloud.opencode.base.config.advanced.MultiProfileConfig
 
loadFromClasspath(String...) - Static method in class cloud.opencode.base.config.OpenConfig
Load configuration from classpath resources 从类路径资源加载配置
loadFromFile(Path...) - Static method in class cloud.opencode.base.config.OpenConfig
Load configuration from files 从文件加载配置
loadFromProperties(Map) - Static method in class cloud.opencode.base.config.OpenConfig
Load configuration from properties map 从属性映射加载配置
loadFromSpi() - Static method in class cloud.opencode.base.config.converter.SpiConverterRegistry
 

M

modified(String, String, String) - Static method in record class cloud.opencode.base.config.ConfigChangeEvent
Create configuration modified event 创建配置修改事件
MODIFIED - Enum constant in enum class cloud.opencode.base.config.ConfigChangeEvent.ChangeType
Configuration modified | 配置修改
MODIFIED - Enum constant in enum class cloud.opencode.base.config.ConfigChangeType
Existing configuration value changed 现有配置值修改
MultiProfileConfig - Class in cloud.opencode.base.config.advanced
Multi-Profile Configuration Loader 多环境配置加载器
MultiProfileConfig() - Constructor for class cloud.opencode.base.config.advanced.MultiProfileConfig
 

N

NestedConfig - Annotation Interface in cloud.opencode.base.config.bind
Nested Configuration Annotation 嵌套配置注解
newValue() - Method in record class cloud.opencode.base.config.ConfigChangeEvent
Returns the value of the newValue record component.

O

of(Config, String, Class, T) - Static method in class cloud.opencode.base.config.jdk25.ReactiveConfigValue
 
oldValue() - Method in record class cloud.opencode.base.config.ConfigChangeEvent
Returns the value of the oldValue record component.
onConfigChange(ConfigChangeEvent) - Method in interface cloud.opencode.base.config.ConfigListener
Handle configuration change event 处理配置变更事件
OpenConfig - Class in cloud.opencode.base.config
Global Configuration Manager Facade 全局配置管理器门面
OpenConfigException - Exception Class in cloud.opencode.base.config
Configuration Component Exception 配置组件异常
OpenConfigException(String) - Constructor for exception class cloud.opencode.base.config.OpenConfigException
Create exception with message 创建带消息的异常
OpenConfigException(String, String, String) - Constructor for exception class cloud.opencode.base.config.OpenConfigException
Create exception with config key, source and message 创建带配置键、源和消息的异常
OpenConfigException(String, String, String, Throwable) - Constructor for exception class cloud.opencode.base.config.OpenConfigException
Create exception with config key, source, message and cause 创建带配置键、源、消息和原因的异常
OpenConfigException(String, Throwable) - Constructor for exception class cloud.opencode.base.config.OpenConfigException
Create exception with message and cause 创建带消息和原因的异常
OVERRIDES - Static variable in class cloud.opencode.base.config.jdk25.ConfigContext
Configuration overrides | 配置覆盖

P

path() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.File
Returns the value of the path record component.
PatternValidator - Class in cloud.opencode.base.config.validation
Pattern Validator - Validates configuration values match specified regex pattern 模式验证器 - 验证配置值匹配指定的正则表达式模式
PatternValidator(String, String) - Constructor for class cloud.opencode.base.config.validation.PatternValidator
Create pattern validator with default error message 创建带默认错误消息的模式验证器
PatternValidator(String, String, String) - Constructor for class cloud.opencode.base.config.validation.PatternValidator
Create pattern validator with custom error message 创建带自定义错误消息的模式验证器
PatternValidator(String, Pattern, String) - Constructor for class cloud.opencode.base.config.validation.PatternValidator
Create pattern validator from pre-compiled Pattern 从预编译的Pattern创建模式验证器
phone(String) - Static method in class cloud.opencode.base.config.validation.PatternValidator
Create phone number validator 创建电话号码验证器
PHONE_PATTERN - Static variable in class cloud.opencode.base.config.validation.PatternValidator
Phone number pattern (international format) | 电话号码模式(国际格式)
placeholderRecursionTooDeep(String) - Static method in exception class cloud.opencode.base.config.OpenConfigException
Placeholder recursion too deep 占位符递归过深
placeholderResolveFailed(String) - Static method in exception class cloud.opencode.base.config.OpenConfigException
Placeholder resolution failed 占位符解析失败
PlaceholderResolver - Class in cloud.opencode.base.config.placeholder
Placeholder Resolver 占位符解析器
PlaceholderResolver(Function) - Constructor for class cloud.opencode.base.config.placeholder.PlaceholderResolver
Create placeholder resolver with default depth limit 创建默认深度限制的占位符解析器
PlaceholderResolver(Function, int) - Constructor for class cloud.opencode.base.config.placeholder.PlaceholderResolver
Create placeholder resolver with custom depth limit 创建自定义深度限制的占位符解析器
prefix() - Element in annotation interface cloud.opencode.base.config.bind.ConfigProperties
Configuration prefix 配置前缀
prefix() - Element in annotation interface cloud.opencode.base.config.bind.NestedConfig
Custom prefix for nested configuration 嵌套配置的自定义前缀
prefix() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.Environment
Returns the value of the prefix record component.
priority() - Method in interface cloud.opencode.base.config.advanced.ConfigConverterProvider
Get provider priority (higher = used first) 获取提供者优先级(越高越先使用)
priority() - Method in interface cloud.opencode.base.config.advanced.ConfigSourceProvider
Get provider priority (higher = checked first) 获取提供者优先级(越高越先检查)
priority() - Method in class cloud.opencode.base.config.advanced.HttpConfigSourceProvider
 
process(ConfigSourceType) - Method in class cloud.opencode.base.config.jdk25.ConfigSourceProcessor
 
PROFILE - Static variable in class cloud.opencode.base.config.jdk25.ConfigContext
Current profile | 当前环境
properties() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.InMemory
Returns the value of the properties record component.
PropertiesConfigSource - Class in cloud.opencode.base.config.source
Properties File Configuration Source Properties文件配置源
PropertiesConfigSource(String, boolean) - Constructor for class cloud.opencode.base.config.source.PropertiesConfigSource
Create properties source from classpath or filesystem 从类路径或文件系统创建属性源
PropertiesConfigSource(Path) - Constructor for class cloud.opencode.base.config.source.PropertiesConfigSource
Create properties source from filesystem path 从文件系统路径创建属性源

R

RangeValidator - Class in cloud.opencode.base.config.validation
Range Validator - Validates numeric configuration values are within specified range 范围验证器 - 验证数字配置值在指定范围内
RangeValidator(String, Number, Number) - Constructor for class cloud.opencode.base.config.validation.RangeValidator
Create range validator with inclusive bounds 创建包含边界的范围验证器
RangeValidator(String, Number, Number, boolean, boolean) - Constructor for class cloud.opencode.base.config.validation.RangeValidator
Create range validator with configurable bounds 创建可配置边界的范围验证器
ReactiveConfigValue<T> - Class in cloud.opencode.base.config.jdk25
Reactive Configuration Value 响应式配置值
ReactiveConfigValue(Config, String, Class, T) - Constructor for class cloud.opencode.base.config.jdk25.ReactiveConfigValue
 
RecordConfigBinder - Class in cloud.opencode.base.config.bind
Record Configuration Binder for JDK 25 Records JDK 25 Record的配置绑定器
RecordConfigBinder(Config, ConverterRegistry) - Constructor for class cloud.opencode.base.config.bind.RecordConfigBinder
 
register(Class, ConfigConverter) - Method in class cloud.opencode.base.config.converter.ConverterRegistry
Register type converter 注册类型转换器
registerConverter(Class, ConfigConverter) - Method in class cloud.opencode.base.config.ConfigBuilder
Register type converter 注册类型转换器
reload() - Method in class cloud.opencode.base.config.source.CompositeConfigSource
 
reload() - Method in interface cloud.opencode.base.config.source.ConfigSource
Reload configuration from source 从源重新加载配置
reload() - Method in class cloud.opencode.base.config.source.PropertiesConfigSource
 
reload() - Method in class cloud.opencode.base.config.source.YamlConfigSource
 
removed(String, String) - Static method in record class cloud.opencode.base.config.ConfigChangeEvent
Create configuration removed event 创建配置删除事件
REMOVED - Enum constant in enum class cloud.opencode.base.config.ConfigChangeEvent.ChangeType
Configuration removed | 配置删除
REMOVED - Enum constant in enum class cloud.opencode.base.config.ConfigChangeType
Configuration key removed 配置键删除
removeListener(ConfigListener) - Method in interface cloud.opencode.base.config.Config
Remove configuration change listener 移除配置变更监听器
removeListener(ConfigListener) - Method in class cloud.opencode.base.config.jdk25.ContextAwareConfig
 
removeProperty(String) - Method in class cloud.opencode.base.config.source.InMemoryConfigSource
Remove property 移除属性
required(String...) - Method in class cloud.opencode.base.config.ConfigBuilder
Add required keys validation 添加必填键验证
Required - Annotation Interface in cloud.opencode.base.config.jdk25
Required Configuration Annotation for Record Components Record组件的必填配置注解
requiredKeyMissing(String) - Static method in exception class cloud.opencode.base.config.OpenConfigException
Required configuration missing 必填配置缺失
RequiredValidator - Class in cloud.opencode.base.config.validation
Required Keys Validator 必填键验证器
RequiredValidator(String...) - Constructor for class cloud.opencode.base.config.validation.RequiredValidator
Create required validator 创建必填验证器
resolve(String) - Method in class cloud.opencode.base.config.placeholder.PlaceholderResolver
Resolve placeholders in value 解析值中的占位符
resource() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.Classpath
Returns the value of the resource record component.
runWithOverrides(Map, Runnable) - Static method in class cloud.opencode.base.config.jdk25.ConfigContext
Execute task with overrides (void returning) 使用配置覆盖执行任务(无返回值)
runWithProfile(String, Runnable) - Static method in class cloud.opencode.base.config.jdk25.ConfigContext
Execute task with profile context (void returning) 使用环境上下文执行任务(无返回值)
runWithTenant(String, Runnable) - Static method in class cloud.opencode.base.config.jdk25.ConfigContext
Execute task with tenant context (void returning) 使用租户上下文执行任务(无返回值)

S

setGlobal(Config) - Static method in class cloud.opencode.base.config.OpenConfig
Set global configuration 设置全局配置
setProperties(Map) - Method in class cloud.opencode.base.config.source.InMemoryConfigSource
Set multiple properties 设置多个属性
setProperty(String, String) - Method in class cloud.opencode.base.config.source.InMemoryConfigSource
Set property value 设置属性值
sourceLoadFailed(String, Throwable) - Static method in exception class cloud.opencode.base.config.OpenConfigException
Configuration source load failed 配置源加载失败
sourceNotSupported(String) - Static method in exception class cloud.opencode.base.config.OpenConfigException
Configuration source not supported 配置源不支持
SpiConverterRegistry - Class in cloud.opencode.base.config.converter
SPI-based Converter Registry 基于SPI的转换器注册表
SpiConverterRegistry() - Constructor for class cloud.opencode.base.config.converter.SpiConverterRegistry
 
start() - Method in class cloud.opencode.base.config.jdk25.VirtualThreadConfigWatcher
 
subscribe(Consumer) - Method in class cloud.opencode.base.config.jdk25.ReactiveConfigValue
 
supportedType() - Method in interface cloud.opencode.base.config.advanced.ConfigConverterProvider
Get the type this converter supports 获取此转换器支持的类型
supports(String) - Method in interface cloud.opencode.base.config.advanced.ConfigSourceProvider
Check if this provider supports the given URI 检查此提供者是否支持给定的URI
supports(String) - Method in class cloud.opencode.base.config.advanced.HttpConfigSourceProvider
 
supportsReload() - Method in class cloud.opencode.base.config.source.CompositeConfigSource
 
supportsReload() - Method in interface cloud.opencode.base.config.source.ConfigSource
Check if source supports hot reload 检查源是否支持热重载
supportsReload() - Method in class cloud.opencode.base.config.source.PropertiesConfigSource
 
supportsReload() - Method in class cloud.opencode.base.config.source.YamlConfigSource
 
System() - Constructor for record class cloud.opencode.base.config.jdk25.ConfigSourceType.System
Creates an instance of a System record class.
SystemPropertiesConfigSource - Class in cloud.opencode.base.config.source
System Properties Configuration Source 系统属性配置源
SystemPropertiesConfigSource() - Constructor for class cloud.opencode.base.config.source.SystemPropertiesConfigSource
Create system properties config source 创建系统属性配置源

T

TENANT_ID - Static variable in class cloud.opencode.base.config.jdk25.ConfigContext
Tenant ID for multi-tenant scenarios | 多租户场景的租户ID
TenantConfigManager - Class in cloud.opencode.base.config.advanced
Multi-Tenant Configuration Manager 多租户配置管理器
TenantConfigManager(Config) - Constructor for class cloud.opencode.base.config.advanced.TenantConfigManager
Create tenant config manager with base configuration 使用基础配置创建租户配置管理器
timestamp() - Method in record class cloud.opencode.base.config.ConfigChangeEvent
Returns the value of the timestamp record component.
toSource() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.Classpath
 
toSource() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.Environment
 
toSource() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.File
 
toSource() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.InMemory
 
toSource() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.System
 
toSource() - Method in interface cloud.opencode.base.config.jdk25.ConfigSourceType
 
toString() - Method in record class cloud.opencode.base.config.ConfigChangeEvent
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.Classpath
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.Environment
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.File
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.InMemory
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.System
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.config.validation.ValidationResult
 

U

unsubscribe(Consumer) - Method in class cloud.opencode.base.config.jdk25.ReactiveConfigValue
 
url(String) - Static method in class cloud.opencode.base.config.validation.PatternValidator
Create URL validator 创建URL验证器
URL_PATTERN - Static variable in class cloud.opencode.base.config.validation.PatternValidator
URL pattern (HTTP/HTTPS) | URL模式

V

valid() - Static method in class cloud.opencode.base.config.validation.ValidationResult
Create valid result 创建有效结果
validate(Config) - Method in interface cloud.opencode.base.config.validation.ConfigValidator
Validate configuration 验证配置
validate(Config) - Method in class cloud.opencode.base.config.validation.PatternValidator
 
validate(Config) - Method in class cloud.opencode.base.config.validation.RangeValidator
 
validate(Config) - Method in class cloud.opencode.base.config.validation.RequiredValidator
 
validateObject(Object) - Static method in class cloud.opencode.base.config.validation.ValidationModuleAdapter
Validates an object using OpenValidator if available.
validationFailed(String) - Static method in exception class cloud.opencode.base.config.OpenConfigException
Configuration validation failed 配置验证失败
ValidationModuleAdapter - Class in cloud.opencode.base.config.validation
Validation Module Adapter with Optional Validation Module Delegation 支持可选 Validation 模块委托的验证适配器
ValidationResult - Class in cloud.opencode.base.config.validation
Configuration Validation Result 配置验证结果
value() - Element in annotation interface cloud.opencode.base.config.jdk25.DefaultValue
 
valueOf(String) - Static method in enum class cloud.opencode.base.config.ConfigChangeEvent.ChangeType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.config.ConfigChangeType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class cloud.opencode.base.config.ConfigChangeEvent.ChangeType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.config.ConfigChangeType
Returns an array containing the constants of this enum class, in the order they are declared.
VirtualThreadConfigWatcher - Class in cloud.opencode.base.config.jdk25
Virtual Thread Configuration Watcher 虚拟线程配置监视器
VirtualThreadConfigWatcher() - Constructor for class cloud.opencode.base.config.jdk25.VirtualThreadConfigWatcher
 

W

watchable() - Method in record class cloud.opencode.base.config.jdk25.ConfigSourceType.File
Returns the value of the watchable record component.
withOverrides(Map, ScopedValue.CallableOp) - Static method in class cloud.opencode.base.config.jdk25.ConfigContext
Execute task with configuration overrides 使用配置覆盖执行任务
withProfile(String, ScopedValue.CallableOp) - Static method in class cloud.opencode.base.config.jdk25.ConfigContext
Execute task with profile context 使用环境上下文执行任务
withTenant(String, ScopedValue.CallableOp) - Static method in class cloud.opencode.base.config.jdk25.ConfigContext
Execute task with tenant context 使用租户上下文执行任务

Y

YamlConfigSource - Class in cloud.opencode.base.config.source
YAML Configuration Source YAML配置源
YamlConfigSource(String, boolean) - Constructor for class cloud.opencode.base.config.source.YamlConfigSource
Create YAML source from classpath or filesystem 从类路径或文件系统创建YAML源
YamlConfigSource(Path) - Constructor for class cloud.opencode.base.config.source.YamlConfigSource
Create YAML source from filesystem path 从文件系统路径创建YAML源
A B C D E F G H I K L M N O P R S T U V W Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form