Class PropertyPath.Options

java.lang.Object
org.springframework.beans.PropertyPath.Options
Enclosing class:
PropertyPath

public static final class PropertyPath.Options extends Object
Options to customize the parsing for PropertyPath.
Since:
7.1
Author:
Brian Clozel
  • Field Details

    • UNLIMITED

      public static final PropertyPath.Options UNLIMITED
      Options with no limit on nesting depth.
  • Method Details

    • withMaxNestedPathDepth

      public static PropertyPath.Options withMaxNestedPathDepth(int maxNestedPathDepth)
      Create an PropertyPath.Options instance that rejects a path whose nesting depth exceeds the given maximum.
      Parameters:
      maxNestedPathDepth - the maximum nesting depth