Class OMAGServerProperties

java.lang.Object
org.odpi.openmetadata.serverchassis.springboot.config.OMAGServerProperties

@ConfigurationProperties(prefix="omag", ignoreUnknownFields=false) @Validated public class OMAGServerProperties extends Object
Provides validation support for OMAG specific application properties.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Application property that maps to OMAGServerConfig document directly.
    org.springframework.core.io.Resource
    Configures the location of the OMAGServerConfig json document defined as org.springframework.core.io.Resource This property is required and cannot be null.
    void
    Application property that maps to OMAGServerConfig document directly.
    void
    setServerConfigFile(org.springframework.core.io.Resource serverConfigFile)
    Configures the location of the OMAGServerConfig json document defined as org.springframework.core.io.Resource This property is required and cannot be null.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OMAGServerProperties

      public OMAGServerProperties()
  • Method Details

    • getServerConfigFile

      public org.springframework.core.io.Resource getServerConfigFile()
      Configures the location of the OMAGServerConfig json document defined as org.springframework.core.io.Resource This property is required and cannot be null.
    • getServerConfig

      public OMAGServerConfig getServerConfig()
      Application property that maps to OMAGServerConfig document directly. USED ONLY TO EXPERIMENT DUE TO UNDERLYING SPRING YAML CONFIGURATION PROCESSING BEHAVIOUR THAT COMPROMISES THE CURRENT FUNCTIONALITY.
    • setServerConfigFile

      public void setServerConfigFile(org.springframework.core.io.Resource serverConfigFile)
      Configures the location of the OMAGServerConfig json document defined as org.springframework.core.io.Resource This property is required and cannot be null.
    • setServerConfig

      public void setServerConfig(OMAGServerConfig serverConfig)
      Application property that maps to OMAGServerConfig document directly. USED ONLY TO EXPERIMENT DUE TO UNDERLYING SPRING YAML CONFIGURATION PROCESSING BEHAVIOUR THAT COMPROMISES THE CURRENT FUNCTIONALITY.