public class ReturnTypeChecker extends Object
| Constructor and Description |
|---|
ReturnTypeChecker() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkReturnType(org.bonitasoft.engine.expression.model.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(org.bonitasoft.engine.expression.model.SExpression expression, Object result, Map<String,Object> context) throws org.bonitasoft.engine.expression.exception.SExpressionEvaluationException
expression - the evaluated expressionresult - the expression result to checkorg.bonitasoft.engine.expression.exception.SExpressionEvaluationException - if the condition is not fulfilled, does nothing otherwiseCopyright © 2017 Bonitasoft S.A.. All rights reserved.