public interface RuleEvaluator
It is configured with a list of scenarios.
Modifier and Type | Method and Description |
---|---|
EvaluatorContext |
createContext(Map<String,Object> sessionContext)
Create a new evaluator context.
|
Command |
evaluate(EvaluatorContext context,
Operation operation)
Evaluate the scenarios contained within the context against the current operation
|
void |
notifyRename(EvaluatorContext context,
Operation operation,
Command c)
Tell the context of a rename
|
EvaluatorContext createContext(Map<String,Object> sessionContext)
Command evaluate(EvaluatorContext context, Operation operation)
context
- - the context to evaluate the operationoperation
- - the operation to be evaluated.void notifyRename(EvaluatorContext context, Operation operation, Command c)
Copyright © 2005–2017 Alfresco Software. All rights reserved.