public class JSConditionEvaluator
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
evaluateCondition(java.lang.String condition,
javax.script.Bindings bindings) |
boolean |
evaluateCondition(java.lang.String condition,
MboRemote mbo) |
boolean |
evaluateCondition(java.lang.String condition,
java.lang.String jsonData) |
boolean |
evaluateCondition(java.lang.String condition,
StructureObject so,
MboSetInfo mboSetInfo) |
static JSConditionEvaluator |
getInstance() |
javax.script.CompiledScript |
preCompileScript(java.lang.String condition,
int type) |
public static JSConditionEvaluator getInstance()
public boolean evaluateCondition(java.lang.String condition, javax.script.Bindings bindings) throws MXApplicationException
MXApplicationException
public boolean evaluateCondition(java.lang.String condition, java.lang.String jsonData) throws MXApplicationException
MXApplicationException
public boolean evaluateCondition(java.lang.String condition, StructureObject so, MboSetInfo mboSetInfo) throws MXApplicationException
MXApplicationException
public boolean evaluateCondition(java.lang.String condition, MboRemote mbo) throws MXApplicationException
MXApplicationException
public javax.script.CompiledScript preCompileScript(java.lang.String condition, int type) throws MXApplicationException
MXApplicationException
public void clear()