io.vertx.json.schema.common

## Class MaxPropertiesValidatorFactory.MaxPropertiesValidator

- java.lang.Object
- - io.vertx.json.schema.common.BaseSyncValidator
  - - io.vertx.json.schema.common.MaxPropertiesValidatorFactory.MaxPropertiesValidator

- All Implemented Interfaces:
    PriorityGetter, SyncValidator, Validator
  Enclosing class:
    MaxPropertiesValidatorFactory

      public static class MaxPropertiesValidatorFactory.MaxPropertiesValidator
      extends BaseSyncValidator

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MaxPropertiesValidator(int maximum)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `validateSync(ValidatorContext context, Object in)` Validate the provided value

    - ### Methods inherited from class io.vertx.json.schema.common.BaseSyncValidator

      `getPriority, isSync`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MaxPropertiesValidator

          public MaxPropertiesValidator(int maximum)

  - ### Method Detail

    - #### validateSync

          public void validateSync(ValidatorContext context,
                                   Object in)
                            throws ValidationException

      Description copied from interface: `SyncValidator`
      Validate the provided value
      Throws:
        `ValidationException` - if the object is not valid

Copyright © 2024 Eclipse. All rights reserved.