public class ConfigurationPriority extends Object
Modifier and Type | Field and 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".
|
Constructor and Description |
---|
ConfigurationPriority() |
public static final int RUNTIME_INFO
public static final int SYSTEM_PROPERTIES
public static final int ENVIRONMENT_VARIABLES
public static final int SYSTEM_PROPERTIES_CONFIG
public static final int KERNEL_PARAMETERS_CONFIG
public static final int BASE_OVERRIDE
public static final int BASE
public static final int SCANNED_OVERRIDE
public static final int SCANNED
public static final int DEFAULT
Copyright © 2013-2018–2019 SeedStack. All rights reserved.