java.lang.Object
ortus.boxlang.runtime.validation.dynamic.Min
All Implemented Interfaces:
Validator

public class Min extends Object implements Validator
I require a numeric record that cannot be greater than the number I'm instantiated with
  • Constructor Details

    • Min

      public Min(Number min)
  • Method Details

    • validate

      public void validate(IBoxContext context, Key caller, Validatable record, IStruct records)
      Description copied from interface: Validator
      Validate a record instance.
      Specified by:
      validate in interface Validator
      Parameters:
      context - The current Box context
      caller - The component being validated
      record - The specific record being validated
      records - All the records being validated