Class ServerConfig

java.lang.Object
ai.dat.server.openapi.config.ServerConfig
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

@Component @ConfigurationProperties(prefix="dat.server") public class ServerConfig extends Object implements org.springframework.beans.factory.InitializingBean
  • Constructor Details

    • ServerConfig

      public ServerConfig()
  • Method Details

    • getAbsoluteProjectPath

      public Path getAbsoluteProjectPath()
    • getVariables

      public Map<String,Object> getVariables()
    • postConstruct

      @PostConstruct public void postConstruct()
      配置加载后的处理 确保CLI传入的参数被正确设置
    • afterPropertiesSet

      public void afterPropertiesSet()
      配置初始化后的验证
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean