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.
|
protected boolean |
isContextOnActivity(Map<String,Object> context) |
protected boolean |
isContextOnProcess(Map<String,Object> context) |
public void checkReturnType(SExpression expression, Object result, Map<String,Object> context) throws SExpressionEvaluationException
expression - the evaluated expressionresult - the expression result to checkSExpressionEvaluationException - if the condition is not fulfilled, does nothing otherwiseCopyright © 2018 Bonitasoft S.A.. All rights reserved.