JetLeafConfigParser class final
Parser for JetLeaf configuration files with strict validation.
This parser handles YAML, JSON, and properties configuration files with strict validation rules. Only specific top-level keys are allowed, and values must be lists of strings with proper formatting.
Supported Keys:
${JetLeafApplication.ENABLE_AUTO_CONFIGURATION_PROPERTY}${JetLeafApplication.DISABLE_AUTO_CONFIGURATION_PROPERTY}
File Format Examples:
YAML:
jetleaf.enable.auto.configuration:
- package:jetleaf_resource/src/.../SchedulingAutoConfiguration
- package:jetleaf_web/src/.../WebAutoConfiguration
jetleaf.disable.auto.configuration:
- jetleaf_web
- jetleaf_security
JSON:
{
"jetleaf.enable.auto.configuration": [
"package:jetleaf_resource/src/.../SchedulingAutoConfiguration",
"package:jetleaf_web/src/.../WebAutoConfiguration"
],
"jetleaf.disable.auto.configuration": [
"jetleaf_web",
"jetleaf_security"
]
}
Properties:
jetleaf.enable.auto.configuration[0]=package:jetleaf_resource/src/.../SchedulingAutoConfiguration
jetleaf.enable.auto.configuration[1]=package:jetleaf_web/src/.../WebAutoConfiguration
jetleaf.disable.auto.configuration[0]=jetleaf_web
jetleaf.disable.auto.configuration[1]=jetleaf_security
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseAsset(
Asset asset) → Map< String, List< String> > - Parses a configuration asset and returns the configuration map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited