public class SpelParserConfiguration
extends java.lang.Object
SpelExpressionParser.SpelExpressionParser(SpelParserConfiguration)
Modifier and Type | Field and Description |
---|---|
private boolean |
autoGrowCollections |
private boolean |
autoGrowNullReferences |
private int |
maximumAutoGrowSize |
Constructor and Description |
---|
SpelParserConfiguration(boolean autoGrowNullReferences,
boolean autoGrowCollections)
Create a new
SpelParserConfiguration instance. |
SpelParserConfiguration(boolean autoGrowNullReferences,
boolean autoGrowCollections,
int maximumAutoGrowSize)
Create a new
SpelParserConfiguration instance. |
Modifier and Type | Method and Description |
---|---|
int |
getMaximumAutoGrowSize() |
boolean |
isAutoGrowCollections() |
boolean |
isAutoGrowNullReferences() |
private final boolean autoGrowNullReferences
private final boolean autoGrowCollections
private final int maximumAutoGrowSize
public SpelParserConfiguration(boolean autoGrowNullReferences, boolean autoGrowCollections)
SpelParserConfiguration
instance.autoGrowNullReferences
- if null references should automatically growautoGrowCollections
- if collections should automatically growSpelParserConfiguration(boolean, boolean, int)
public SpelParserConfiguration(boolean autoGrowNullReferences, boolean autoGrowCollections, int maximumAutoGrowSize)
SpelParserConfiguration
instance.autoGrowNullReferences
- if null references should automatically growautoGrowCollections
- if collections should automatically growmaximumAutoGrowSize
- the maximum size that the collection can auto growpublic boolean isAutoGrowNullReferences()
true
if null
references should be automatically grownpublic boolean isAutoGrowCollections()
true
if collections should be automatically grownpublic int getMaximumAutoGrowSize()