@Service(value="blContentDefaultRuleProcessor") public class StructuredContentDefaultRuleProcessor extends AbstractRuleProcessor<StructuredContentDTO>
StructuredContent.getStructuredContentMatchRules()
 into a single MVEL expression.contextClassNames, parserContext| Constructor and Description | 
|---|
| StructuredContentDefaultRuleProcessor() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | checkForMatch(StructuredContentDTO sc,
             Map<String,Object> vars)Returns true if all of the rules associated with the passed in  StructuredContentitem match based on the passed in vars. | 
| Map<String,String> | getContextClassNames()List of class names to add to the MVEL ParserContext. | 
executeExpression, getParserContext, setContextClassNamespublic StructuredContentDefaultRuleProcessor()
public boolean checkForMatch(StructuredContentDTO sc, Map<String,Object> vars)
StructuredContent
 item match based on the passed in vars.
 Also returns true if no rules are present for the passed in item.sc - - a structured content item to testvars - - a map of objects used by the rule MVEL expressionspublic Map<String,String> getContextClassNames()
AbstractRuleProcessorgetContextClassNames in class AbstractRuleProcessor<StructuredContentDTO>ParserContext}Copyright © 2020. All rights reserved.