public class DdlConfigConstants extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DDL_PREFIX_DEFAULT
The x-ddl values and attributes from the
Model parsed by this class can be optionally
overridden with user supplied properties at runtime. |
static String |
DDL_PREFIX_PROPNAME
The name of the property that can be passed in the provided override properties
to control the prefix for the property names used to override values provided
in the x-ddl model.
|
static String |
DDL_PROFILES_DEFAULT
The default value for "nv.ddl.profiles" ().
|
static String |
DDL_PROFILES_PROPNAME
The name of the property that can be passed in the provided override properties
to control the ddl profiles to activate while parsing DDL.
|
static String |
DDL_PROPERTYNAME_VALIDATION_DEFAULT
The default value for
DDL_PROPERTYNAME_VALIDATION_PROPNAME ("true"). |
static String |
DDL_PROPERTYNAME_VALIDATION_PROPNAME
Indicates whether or not DDL specified in property based format validates that supplied property names are known.
|
static String |
DDL_TARGETXVM_DEFAULT
The default value for "nv.ddl.targetxvm" ().
|
static String |
DDL_TARGETXVM_PROPNAME
The name of the property that can be passed in the with override properties passed
to the DDL parser to indicate the target xvm for which to localize configuration.
|
static boolean |
ESCAPE_SUBSTITUTION_VALUES_DEFAULT
Default value for
ESCAPE_SUBSTITUTION_VALUES_PROPNAME (true). |
static String |
ESCAPE_SUBSTITUTION_VALUES_PROPNAME
Special XML characters in properties that originate from property files before they are substituted
into the DDL XML will be escaped to avoid model validation failures.
|
static boolean |
PREFER_SYSTEM_PROPERTIES_FOR_SUBSTITUTION_DEFAULT
Default value for
PREFER_SYSTEM_PROPERTIES_FOR_SUBSTITUTION_PROPNAME (false). |
static String |
PREFER_SYSTEM_PROPERTIES_FOR_SUBSTITUTION_PROPNAME
Instructs the DDL XML parser to include System Properties as the first properties source for subtitutions and overrides.
|
static String |
VALIDATE_DDL_DEFAULT
The default value for
VALIDATE_DDL_PROPNAME ("true"). |
static String |
VALIDATE_DDL_PROPNAME
Indicates whether or not DDL XML parser will attempt to load and validate against
the x-ddl.xsd schema.
|
| Constructor and Description |
|---|
DdlConfigConstants() |
public static final String VALIDATE_DDL_PROPNAME
The parse will look for this property in System.getProperties().
Property Name: "nv.ddl.schema.validate"
Default Value: "true"
public static final String VALIDATE_DDL_DEFAULT
VALIDATE_DDL_PROPNAME ("true").public static final String DDL_PROPERTYNAME_VALIDATION_PROPNAME
When enabled, this property will cause DDL specified as properties to validate that any property names starting with
the ddl property prefix are known.
Property Name: "nv.ddl.propertynamevalidation"
Default Value: "true"
public static final String DDL_PROPERTYNAME_VALIDATION_DEFAULT
DDL_PROPERTYNAME_VALIDATION_PROPNAME ("true").public static final String ESCAPE_SUBSTITUTION_VALUES_PROPNAME
Property Name: "nv.ddl.escapesubstitutionvalues"
Default Value: true
public static final boolean ESCAPE_SUBSTITUTION_VALUES_DEFAULT
ESCAPE_SUBSTITUTION_VALUES_PROPNAME (true).public static final String PREFER_SYSTEM_PROPERTIES_FOR_SUBSTITUTION_PROPNAME
When enabled this will cause the DDL parse to prefer values from the current set of System properties over the values passed in for:
This is provided primarily for backwards compatibility purposes. Applications should instead use their own property source implementation to provide these values programatically.
Property Name: "nv.ddl.prefersystempropertiesforsubstition"
Default Value: false
public static final boolean PREFER_SYSTEM_PROPERTIES_FOR_SUBSTITUTION_DEFAULT
PREFER_SYSTEM_PROPERTIES_FOR_SUBSTITUTION_PROPNAME (false).public static final String DDL_PREFIX_PROPNAME
When not set the default prefix specified by DDL_PREFIX_PROPNAME("nv.ddl.prefix")
will be used.
Property name: "nv.ddl.prefix".
Default value: "x"
public static final String DDL_PREFIX_DEFAULT
Model parsed by this class can be optionally
overridden with user supplied properties at runtime. The override property names are by default
prefixed with "x" and generally follow the hierarchical structure
of the underlying xml.
Users may specify the property "nv.ddl.prefix" to change the prefix used to parse the file.
public static final String DDL_PROFILES_PROPNAME
This property is expected to be a comma separate list of case sensitive profile names. When specified, properties from the activate profiles are merged into the main main configuration in the order specified.
Property name: "nv.ddl.profiles".
Default value:
public static final String DDL_PROFILES_DEFAULT
public static final String DDL_TARGETXVM_PROPNAME
Providing a target XVM causes the DDL parser to consider the
Property name: "nv.ddl.targetxvm".
Default value:
public static final String DDL_TARGETXVM_DEFAULT
Copyright © 2019 N5 Technologies, Inc. All Rights Reserved.