Class RuleInspector.RuleExpression
- java.lang.Object
-
- com.broadleafcommerce.data.tracking.core.mapping.validation.rules.RuleInspector.RuleExpression
-
- Enclosing class:
- RuleInspector
public static class RuleInspector.RuleExpression extends Object
-
-
Constructor Summary
Constructors Constructor Description RuleExpression(Field field, String rule, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Field
getField()
The field in the projection class that holds the SPEL-based ruleString
getPath()
The JSON path from the top-most containing projection to this field.String
getRule()
The string representing the SPEL-based ruleint
hashCode()
String
toString()
-
-
-
Method Detail
-
getField
public Field getField()
The field in the projection class that holds the SPEL-based rule
-
getRule
public String getRule()
The string representing the SPEL-based rule
-
getPath
public String getPath()
The JSON path from the top-most containing projection to this field. The containing projection is passed in atRuleValidatorManager.validate(Object, Errors, ContextInfo)
.
-
canEqual
protected boolean canEqual(Object other)
-
-