Module cloud.opencode.base.config


module cloud.opencode.base.config
OpenCode Base Config Module OpenCode 基础配置模块

Provides flexible configuration management based on JDK 25, supporting multiple sources (properties, YAML, environment, system), type conversion, placeholder resolution, hot reload, and JDK 25 structured configuration binding.

提供基于 JDK 25 的灵活配置管理,支持多数据源(properties、YAML、环境变量、系统属性)、 类型转换、占位符解析、热重载和 JDK 25 结构化配置绑定。

Key Features | 主要功能:

  • Multiple Config Sources - 多配置数据源
  • Type-Safe Binding - 类型安全绑定
  • Placeholder Resolution - 占位符解析
  • Hot Reload - 热重载
  • Config Validation - 配置校验
  • JDK 25 Record Binding - JDK 25 Record 绑定
  • Advanced Config (Composite, Layered) - 高级配置(组合、分层)
Since:
JDK 25, opencode-base-config V1.0.0
Author:
Leon Soo
See Also: