io.vertx.json.schema.common

## Class MaximumValidator

- java.lang.Object
- - io.vertx.json.schema.common.BaseSyncValidator
  - - io.vertx.json.schema.common.MaximumValidator

- All Implemented Interfaces:
    PriorityGetter, SyncValidator, Validator

      public class MaximumValidator
      extends BaseSyncValidator

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MaximumValidator(double 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

    - #### MaximumValidator

          public MaximumValidator(double 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.