PointClickEngine::Core::Validation::ValidationContext
Inherits Reference < Object
Context information for validation operations
The ValidationContext provides shared state and configuration that validators can use to make decisions and access resources.
Constructors
new(config_path : String)
SourceInstance methods
base_dir
Sourcebase_dir=(base_dir : String)
Sourcecache=(cache : Hash(String, String | Int32 | Bool | Array(String)))
Cached data that validators can share
cache_set(key : String, value : String | Int32 | Bool | Array(String))
Caches a value for sharing between validators
config_path
Sourceconfig_path=(config_path : String)
Sourcedevelopment_mode
Sourcedevelopment_mode=(development_mode : Bool)
Sourceinclude_performance_checks
Sourceinclude_performance_checks=(include_performance_checks : Bool)
Sourceinclude_security_checks
Sourceinclude_security_checks=(include_security_checks : Bool)
Sourcemax_warnings
Sourcemax_warnings=(max_warnings : Int32)
Sourceresolve_path(path : String) : String
Resolves a path relative to the configuration base directory
skip_optional_checks
Sourceskip_optional_checks=(skip_optional_checks : Bool)
Sourcestrict_mode
Sourcestrict_mode=(strict_mode : Bool)
Source