Class EvaluateRouter<InputType>

java.lang.Object
org.chenile.owiz.impl.CommandBase<InputType>
org.chenile.owiz.impl.Router<InputType>
org.chenile.owiz.impl.ognl.EvaluateRouter<InputType>
Type Parameters:
InputType -
All Implemented Interfaces:
AttachableCommand<InputType>, BypassableCommand<InputType>, Command<InputType>, OrchestrationAware<InputType>

public class EvaluateRouter<InputType> extends Router<InputType>
This is a specific subclass of Router that uses OGNL to evaluate a boolean expression on the context. It returns true or false based on the evaluation. This allows us to do simple evaluations as part of the OWIZ xml itself instead of the need to subclass and implement this logic. It serves like an "IF statement " and is often aliased to that. See the test cases to understand the logic.