public class ReturnTypeChecker extends Object
| Constructor and Description |
|---|
ReturnTypeChecker() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkReturnType(SExpression expression,
Object result,
Map<String,Object> context)
Check if the declared return type is compatible with the real Expression evaluation return type.
|
public void checkReturnType(SExpression expression, Object result, Map<String,Object> context) throws SExpressionEvaluationException
true.expression - the evaluated expressionresult - the expression result to checkSExpressionEvaluationException - if the condition is not fulfilled, does nothing otherwiseCopyright © 2019 Bonitasoft S.A.. All rights reserved.