org.enhydra.shark.api.internal.scripting
Interface Evaluator


public interface Evaluator

Interface that has to be implemented for each scripting language we want to use to evaluate conditions and expressions.

Author:
Sasa Bojanic

Method Summary
 void configure(CallbackUtilities cus)
           
 boolean evaluateCondition(WMSessionHandle shandle, java.lang.String procId, java.lang.String actId, java.lang.String condition, java.util.Map context)
           
 java.lang.Object evaluateExpression(WMSessionHandle shandle, java.lang.String procId, java.lang.String actId, java.lang.String expr, java.util.Map context, java.lang.Class resultClass)
           
 

Method Detail

configure

public void configure(CallbackUtilities cus)
               throws java.lang.Exception
Throws:
java.lang.Exception

evaluateCondition

public boolean evaluateCondition(WMSessionHandle shandle,
                                 java.lang.String procId,
                                 java.lang.String actId,
                                 java.lang.String condition,
                                 java.util.Map context)
                          throws java.lang.Exception
Throws:
java.lang.Exception

evaluateExpression

public java.lang.Object evaluateExpression(WMSessionHandle shandle,
                                           java.lang.String procId,
                                           java.lang.String actId,
                                           java.lang.String expr,
                                           java.util.Map context,
                                           java.lang.Class resultClass)
                                    throws java.lang.Exception
Throws:
java.lang.Exception