Class UniqueWaiterNamesValidator

  • All Implemented Interfaces:
    Validator

    public final class UniqueWaiterNamesValidator
    extends AbstractValidator
    Ensures that no two waiters use the same case-insensitive name in the closure of a service.
    • Constructor Detail

      • UniqueWaiterNamesValidator

        public UniqueWaiterNamesValidator()
    • Method Detail

      • validate

        public java.util.List<ValidationEvent> validate​(Model model)
        Description copied from interface: Validator
        Validates a model and returns a list of validation events.
        Parameters:
        model - Model to validate.
        Returns:
        List of validation events.