org.infinispan.schematic.internal.schema

## Class JsonSchemaValidatorFactory.MaximumItemsValidator

- java.lang.Object
- - org.infinispan.schematic.internal.schema.JsonSchemaValidatorFactory.ItemCountValidator
  - - org.infinispan.schematic.internal.schema.JsonSchemaValidatorFactory.MaximumItemsValidator

- All Implemented Interfaces:
    Serializable, Validator
  Enclosing class:
    JsonSchemaValidatorFactory

      protected static class JsonSchemaValidatorFactory.MaximumItemsValidator
      extends JsonSchemaValidatorFactory.ItemCountValidator

  See Also:
    Serialized Form

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.infinispan.schematic.internal.schema.Validator

      `Validator.Factory, Validator.SchemaDocumentResolver`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `JsonSchemaValidatorFactory.MaximumItemsValidator(String propertyName, int maximum)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | `evaluate(double maximumCount, double actualCount)`
    `protected String` | `ruleDescription()`

    - ### Methods inherited from class org.infinispan.schematic.internal.schema.JsonSchemaValidatorFactory.ItemCountValidator

      `toString, validate`

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

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

- - ### Constructor Detail

    - #### JsonSchemaValidatorFactory.MaximumItemsValidator

          public JsonSchemaValidatorFactory.MaximumItemsValidator(String propertyName,
                                                          int maximum)

  - ### Method Detail

    - #### evaluate

          protected boolean evaluate(double maximumCount,
                         double actualCount)

      Specified by:
        `evaluate` in class `JsonSchemaValidatorFactory.ItemCountValidator`

    - #### ruleDescription

          protected String ruleDescription()

      Specified by:
        `ruleDescription` in class `JsonSchemaValidatorFactory.ItemCountValidator`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.