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
-
Method Summary
Modifier and TypeMethodDescriptionApplication 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
setServerConfig
(OMAGServerConfig serverConfig) 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.
-
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
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
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.
-