public class RuleEvaluatorImpl extends java.lang.Object implements RuleEvaluator
It is configured with a list of scenarios which act as factories for scenario instances.
| Constructor and Description |
|---|
RuleEvaluatorImpl() |
| Modifier and Type | Method and Description |
|---|---|
EvaluatorContext |
createContext(java.util.Map sessionState)
Create a new evaluator context.
|
Command |
evaluate(EvaluatorContext context,
Operation operation)
Evaluate the scenarios against the current operation
|
java.util.List |
getScenarios() |
void |
init() |
void |
notifyRename(EvaluatorContext context,
Operation operation,
Command command)
Tell the context of a rename
|
void |
setScenarios(java.util.List scenarios) |
public void init()
public Command evaluate(EvaluatorContext context, Operation operation)
evaluate in interface RuleEvaluatoroperation - the operation to be evaluatedcontext - - the context to evaluate the operationpublic void setScenarios(java.util.List scenarios)
public java.util.List getScenarios()
public EvaluatorContext createContext(java.util.Map sessionState)
RuleEvaluatorcreateContext in interface RuleEvaluatorpublic void notifyRename(EvaluatorContext context, Operation operation, Command command)
RuleEvaluatornotifyRename in interface RuleEvaluatorCopyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.