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