io.vertx.json.schema.common

## Class RequiredValidatorFactory.RequiredValidator

- java.lang.Object
- - io.vertx.json.schema.common.BaseSyncValidator
  - - io.vertx.json.schema.common.RequiredValidatorFactory.RequiredValidator

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

      public static class RequiredValidatorFactory.RequiredValidator
      extends BaseSyncValidator

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RequiredValidator(Set<String> requiredKeys)`

  - ### 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

    - #### RequiredValidator

          public RequiredValidator(Set<String> requiredKeys)

  - ### 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.