public class ConfigConstants extends Object
This class IS supported for use by end users.
| Modifier and Type | Field and Description |
|---|---|
static boolean |
CONFIG_DEBUGEARLYACCESS_DEFAULT
The default value for
CONFIG_DEBUGEARLYACCESS_PROPNAME ("nv.config.debugearlyaccess"): false |
static String |
CONFIG_DEBUGEARLYACCESS_PROPNAME
Setting this property will switch on enhanced tracking of early
accessed properties for debugging purposes
When set to true, the config runtime will track access to properties
in bootstrap state and print access points (via stack traces) of
properties that were accessed and changed between bootstrap and
initialization.
|
static boolean |
CONFIG_ERRONEARLYACCESS_DEFAULT
The default value for
CONFIG_ERRONEARLYACCESS_PROPNAME ("nv.config.erronearlyaccess"): false |
static String |
CONFIG_ERRONEARLYACCESS_PROPNAME
This property specifies whether a change in a property value between the bootstrap
and initialized states of the config environment is treated as an error
When set to true, if there are one or more properties that were accessed from the
bootstrap environment and whose values changes between the bootstrap and initialization
phase of the configuration environment, then the
Config.initializeEnvironment(java.util.Properties)
method will output an error message to System.err listing the changed property names
and throw an exception. |
static String |
NVDATADIR_PROPNAME
This property controls the location of the runtime data directory.
|
static String |
NVLOGDIR_PROPNAME
This property controls the location of the runtime trace logs directory.
|
static String |
NVROOT_PROPNAME
This property controls the root location for the app runtime.
|
| Constructor and Description |
|---|
ConfigConstants() |
public static final String CONFIG_ERRONEARLYACCESS_PROPNAME
When set to true, if there are one or more properties that were accessed from the
bootstrap environment and whose values changes between the bootstrap and initialization
phase of the configuration environment, then the Config.initializeEnvironment(java.util.Properties)
method will output an error message to System.err listing the changed property names
and throw an exception. If set to false, it will still output the error message to
System.err but tag the message as a warning and continue without throwing the exception.
The latter is the default behavior.
Property Name: "nv.config.erronearlyaccess"
Default value: false
public static final boolean CONFIG_ERRONEARLYACCESS_DEFAULT
CONFIG_ERRONEARLYACCESS_PROPNAME ("nv.config.erronearlyaccess"): falsepublic static final String CONFIG_DEBUGEARLYACCESS_PROPNAME
When set to true, the config runtime will track access to properties in bootstrap state and print access points (via stack traces) of properties that were accessed and changed between bootstrap and initialization.
Note:This property must be set as a Java system property
Property Name: "nv.config.debugearlyaccess"
Default value: false
public static final boolean CONFIG_DEBUGEARLYACCESS_DEFAULT
CONFIG_DEBUGEARLYACCESS_PROPNAME ("nv.config.debugearlyaccess"): falsepublic static final String NVROOT_PROPNAME
This property is used as a basis for converting relative paths from other configuration into absolute paths; it serves as the root directoy for the runtime.
Property Name: "NVROOT"
public static final String NVDATADIR_PROPNAME
If not specified, then the data directory lcation defaults to the "rdat" subdirectory of the root directory
Property Name: "nv.data.directory"
public static final String NVLOGDIR_PROPNAME
If not specified, themn the data directory lcation defaults to the "logs" subdirectory of the data directory
Property Name: "nv.log.directory"
Copyright © 2019 N5 Technologies, Inc. All Rights Reserved.