public interface ActionEvaluator extends Serializable
Evaluators are supplied with a Node instance context object.
The evaluator should decide if the action precondition is valid based on the appropriate logic and the properties etc. of the Node context and return the result.
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(Node node)
The evaluator should decide if the action precondition is valid based on the appropriate
logic and the properties etc.
|
boolean |
evaluate(Object obj)
The evaluator should decide if the action precondition is valid based on the appropriate
logic and the state etc.
|
boolean evaluate(Node node)
node
- Node context for the actionboolean evaluate(Object obj)
obj
- The object the action is forCopyright © 2005–2017 Alfresco Software. All rights reserved.