|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.web.evaluator.BaseEvaluator
org.alfresco.web.evaluator.ChainedMatchOneEvaluator
public class ChainedMatchOneEvaluator
Calls multiple evaluators in turn until either the last one is called or one of the evaluators returns true. Effectively becomes a logical OR of the participating evaluators.
| Field Summary |
|---|
| Fields inherited from class org.alfresco.web.evaluator.BaseEvaluator |
|---|
args, metadata, negateOutput |
| Constructor Summary | |
|---|---|
ChainedMatchOneEvaluator()
|
|
| Method Summary | |
|---|---|
boolean |
evaluate(org.json.simple.JSONObject jsonObject)
Run through each given evaluator until we either get to the end or one returns false |
void |
setEvaluators(java.util.ArrayList evaluators)
Evaluators to participate in the evaluation chain |
| Methods inherited from class org.alfresco.web.evaluator.BaseEvaluator |
|---|
evaluate, evaluate, evaluate, getArg, getArgs, getContainerType, getHeader, getIsLocked, getIsPortlet, getJSONValue, getMatchesCurrentUser, getMetadata, getNodeAspects, getNodeType, getProperty, getSiteId, getSitePreset, getUserId, setNegateOutput |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChainedMatchOneEvaluator()
| Method Detail |
|---|
public void setEvaluators(java.util.ArrayList evaluators)
evaluators - public boolean evaluate(org.json.simple.JSONObject jsonObject)
evaluate in interface Evaluatorevaluate in class BaseEvaluatorjsonObject - The object the action is for
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||