Package ortus.boxlang.runtime.validation
Class DefaultValue
java.lang.Object
ortus.boxlang.runtime.validation.DefaultValue
- All Implemented Interfaces:
Validator
I apply a default value to the record if it is not present
-
Field Summary
Fields inherited from interface ortus.boxlang.runtime.validation.Validator
DEFAULT_VALUE, NON_EMPTY, NOT_IMPLEMENTED, REQUIRED, TYPE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(IBoxContext context, Key caller, Validatable record, IStruct records) Validate a record instance.
-
Constructor Details
-
DefaultValue
public DefaultValue()
-
-
Method Details