Class RuleBuilderParserProperties
java.lang.Object
com.broadleafcommerce.rulesengine.autoconfigure.RuleBuilderParserProperties
@ConfigurationProperties("broadleaf.rulebuilder.evaluation")
public class RuleBuilderParserProperties
extends Object
External configuration properties for Rule Builder's expression parser.
- Author:
- Nathan Moore (nathanmoore).
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanDetermines whether an array or collection should be expanded to accommodate an out-of-bounds index.protected booleanTells the parser whether to automatically initialize (grow) null references.protected org.springframework.expression.spel.SpelCompilerModeDetermines the mode for the `SpelCompiler`.protected intTells the parser the maximum size to which a collection can automatically grow.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.springframework.expression.spel.SpelCompilerModeDetermines the mode for the `SpelCompiler`.intTells the parser the maximum size to which a collection can automatically grow.booleanDetermines whether an array or collection should be expanded to accommodate an out-of-bounds index.booleanTells the parser whether to automatically initialize (grow) null references.voidsetAutoGrowCollections(boolean autoGrowCollections) Determines whether an array or collection should be expanded to accommodate an out-of-bounds index.voidsetAutoGrowNullReferences(boolean autoGrowNullReferences) Tells the parser whether to automatically initialize (grow) null references.voidsetCompilerMode(org.springframework.expression.spel.SpelCompilerMode compilerMode) Determines the mode for the `SpelCompiler`.voidsetMaximumAutoGrowSize(int maximumAutoGrowSize) Tells the parser the maximum size to which a collection can automatically grow.toString()
- 
Field Details- 
compilerModeprotected org.springframework.expression.spel.SpelCompilerMode compilerModeDetermines the mode for the `SpelCompiler`.SpelCompilerMode.MIXEDis used to avoidClassCastExceptionswhen executing the same compiled expression against root objects of different classes.
- 
autoGrowNullReferencesprotected boolean autoGrowNullReferencesTells the parser whether to automatically initialize (grow) null references.
- 
autoGrowCollectionsprotected boolean autoGrowCollectionsDetermines whether an array or collection should be expanded to accommodate an out-of-bounds index.
- 
maximumAutoGrowSizeprotected int maximumAutoGrowSizeTells the parser the maximum size to which a collection can automatically grow.
 
- 
- 
Constructor Details- 
RuleBuilderParserPropertiespublic RuleBuilderParserProperties()
 
- 
- 
Method Details- 
getCompilerModepublic org.springframework.expression.spel.SpelCompilerMode getCompilerMode()Determines the mode for the `SpelCompiler`.SpelCompilerMode.MIXEDis used to avoidClassCastExceptionswhen executing the same compiled expression against root objects of different classes.
- 
isAutoGrowNullReferencespublic boolean isAutoGrowNullReferences()Tells the parser whether to automatically initialize (grow) null references.
- 
isAutoGrowCollectionspublic boolean isAutoGrowCollections()Determines whether an array or collection should be expanded to accommodate an out-of-bounds index.
- 
getMaximumAutoGrowSizepublic int getMaximumAutoGrowSize()Tells the parser the maximum size to which a collection can automatically grow.
- 
setCompilerModepublic void setCompilerMode(org.springframework.expression.spel.SpelCompilerMode compilerMode) Determines the mode for the `SpelCompiler`.SpelCompilerMode.MIXEDis used to avoidClassCastExceptionswhen executing the same compiled expression against root objects of different classes.
- 
setAutoGrowNullReferencespublic void setAutoGrowNullReferences(boolean autoGrowNullReferences) Tells the parser whether to automatically initialize (grow) null references.
- 
setAutoGrowCollectionspublic void setAutoGrowCollections(boolean autoGrowCollections) Determines whether an array or collection should be expanded to accommodate an out-of-bounds index.
- 
setMaximumAutoGrowSizepublic void setMaximumAutoGrowSize(int maximumAutoGrowSize) Tells the parser the maximum size to which a collection can automatically grow.
- 
toString
 
-