public class DefaultSubComponentEvaluator extends Object implements SubComponentEvaluator
This is the default SubComponentEvaluator and always evaluates to true. This
is the SubComponentEvaluator that will be used when no other is configured.
| Constructor and Description |
|---|
DefaultSubComponentEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(RequestContext context,
Map<String,String> params)
Evaluates whether or not the information in the supplied
RequestContext meets the criteria
defined in the supplied parameter Map. |
String |
getBeanName() |
void |
setBeanName(String name) |
public boolean evaluate(RequestContext context, Map<String,String> params)
SubComponentEvaluatorEvaluates whether or not the information in the supplied RequestContext meets the criteria
defined in the supplied parameter Map.
evaluate in interface SubComponentEvaluatorcontext - The RequestContext currently being serviced.params - A Map of name/value parameters that define the evaluation criteria.true regardless of the context and params arguments supplied.public String getBeanName()
public void setBeanName(String name)
setBeanName in interface org.springframework.beans.factory.BeanNameAwareCopyright © 2005–2016 Alfresco Software. All rights reserved.