Class ConfigurationPriority


  • public class ConfigurationPriority
    extends Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int BASE
      Base configuration ("application.yaml", "application.yml", "application.json").
      static int BASE_OVERRIDE
      Base configuration override ("application.override.yaml", "application.override.yml", "application.override .json").
      static int DEFAULT
      Default configuration (overridden by anything else).
      static int ENVIRONMENT_VARIABLES
      Environment variables have the highest priority to avoid any override.
      static int KERNEL_PARAMETERS_CONFIG
      Configuration done through kernel parameters prefixed with "seedstack.config".
      static int RUNTIME_INFO
      Runtime information has the highest priority to avoid any override.
      static int SCANNED
      Scanned configuration ("META-INF/configuration/*.yaml", "META-INF/configuration/*.yml", "META-INF/configuration/*.json").
      static int SCANNED_OVERRIDE
      Scanned configuration override ("META-INF/configuration/*.override.yaml", "META-INF/configuration/*.override .yml", "META-INF/configuration/*.override.json").
      static int SYSTEM_PROPERTIES
      Environment variables have the highest priority to avoid any override.
      static int SYSTEM_PROPERTIES_CONFIG
      Configuration done through system properties prefixed with "seedstack.config".
    • Field Detail

      • RUNTIME_INFO

        public static final int RUNTIME_INFO
        Runtime information has the highest priority to avoid any override.
        See Also:
        Constant Field Values
      • SYSTEM_PROPERTIES

        public static final int SYSTEM_PROPERTIES
        Environment variables have the highest priority to avoid any override.
        See Also:
        Constant Field Values
      • ENVIRONMENT_VARIABLES

        public static final int ENVIRONMENT_VARIABLES
        Environment variables have the highest priority to avoid any override.
        See Also:
        Constant Field Values
      • SYSTEM_PROPERTIES_CONFIG

        public static final int SYSTEM_PROPERTIES_CONFIG
        Configuration done through system properties prefixed with "seedstack.config".
        See Also:
        Constant Field Values
      • KERNEL_PARAMETERS_CONFIG

        public static final int KERNEL_PARAMETERS_CONFIG
        Configuration done through kernel parameters prefixed with "seedstack.config".
        See Also:
        Constant Field Values
      • BASE_OVERRIDE

        public static final int BASE_OVERRIDE
        Base configuration override ("application.override.yaml", "application.override.yml", "application.override .json").
        See Also:
        Constant Field Values
      • BASE

        public static final int BASE
        Base configuration ("application.yaml", "application.yml", "application.json").
        See Also:
        Constant Field Values
      • SCANNED_OVERRIDE

        public static final int SCANNED_OVERRIDE
        Scanned configuration override ("META-INF/configuration/*.override.yaml", "META-INF/configuration/*.override .yml", "META-INF/configuration/*.override.json").
        See Also:
        Constant Field Values
      • SCANNED

        public static final int SCANNED
        Scanned configuration ("META-INF/configuration/*.yaml", "META-INF/configuration/*.yml", "META-INF/configuration/*.json").
        See Also:
        Constant Field Values
      • DEFAULT

        public static final int DEFAULT
        Default configuration (overridden by anything else).
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConfigurationPriority

        public ConfigurationPriority()