Class PropertyPath.Options
java.lang.Object
org.springframework.beans.PropertyPath.Options
- Enclosing class:
PropertyPath
Options to customize the parsing for
PropertyPath.- Since:
- 7.1
- Author:
- Brian Clozel
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PropertyPath.OptionsOptions with no limit on nesting depth. -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyPath.OptionswithMaxNestedPathDepth(int maxNestedPathDepth) Create anPropertyPath.Optionsinstance that rejects a path whose nesting depth exceeds the given maximum.
-
Field Details
-
UNLIMITED
Options with no limit on nesting depth.
-
-
Method Details
-
withMaxNestedPathDepth
Create anPropertyPath.Optionsinstance that rejects a path whose nesting depth exceeds the given maximum.- Parameters:
maxNestedPathDepth- the maximum nesting depth
-