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 -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.adminservices.configuration.properties.OMAGServerConfigApplication property that maps to OMAGServerConfig document directly.org.springframework.core.io.ResourceConfigures the location of the OMAGServerConfig json document defined as org.springframework.core.io.Resource This property is required and cannot be null.voidsetServerConfig(org.odpi.openmetadata.adminservices.configuration.properties.OMAGServerConfig serverConfig) Application property that maps to OMAGServerConfig document directly.voidsetServerConfigFile(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.
-
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 org.odpi.openmetadata.adminservices.configuration.properties.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(org.odpi.openmetadata.adminservices.configuration.properties.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.
-