public interface ExpressionEvaluationService
| Modifier and Type | Method and Description |
|---|---|
EvaluationResultValue |
evaluateExpression(long modelInstanceId,
String expression,
boolean fullExecutionMode)
Parses the string to the expression and than evaluates it in the top context of the model
instance.
|
String |
evaluateExpressionAsString(long modelInstanceId,
String expression,
boolean fullExecutionMode)
Evaluates an expression and returns its string representation
|
String |
evaluateExpressionInContextAsString(long modelInstanceId,
Long contextId,
String expression,
boolean fullExecutionMode)
Evaluates an expression in a specific context and returns its string representation
|
EvaluationResultValue |
evaluateExpressionInModel(long modelId,
String expression,
boolean fullExecutionMode)
Parses the string to the expression and than evaluates it in the empty model context.
|
List<EvaluationResultValue> |
evaluateExpressions(long modelInstanceId,
List<String> expressions,
boolean fullExecutionMode)
Parses the string sources of expressions in the list evaluates them end returns list of
results.
|
List<String> |
evaluateExpressionsAsString(long modelInstanceId,
List<String> expressions,
boolean fullExecutionMode)
Evaluates list of expressions and returns the string representations.
|
List<EvaluationResultValue> |
evaluateExpressionsInModel(long modelId,
List<String> expressions,
boolean fullExecutionMode)
Parses the string sources of expressions in the list evaluates them end returns list of
results.
|
EvaluationResultValue evaluateExpression(long modelInstanceId, String expression, boolean fullExecutionMode) throws ValidationException, ErrorException
modelInstanceId - expression - fullExecutionMode - ValidationExceptionErrorExceptionList<EvaluationResultValue> evaluateExpressions(long modelInstanceId, List<String> expressions, boolean fullExecutionMode) throws ValidationException, ErrorException
modelInstanceId - expressions - fullExecutionMode - ValidationExceptionErrorExceptionEvaluationResultValue evaluateExpressionInModel(long modelId, String expression, boolean fullExecutionMode) throws ValidationException, ErrorException
modelId - expression - fullExecutionMode - ValidationExceptionErrorExceptionList<EvaluationResultValue> evaluateExpressionsInModel(long modelId, List<String> expressions, boolean fullExecutionMode) throws ValidationException, ErrorException
modelId - expressions - fullExecutionMode - ValidationExceptionErrorExceptionString evaluateExpressionAsString(long modelInstanceId, String expression, boolean fullExecutionMode) throws ValidationException, ErrorException
modelInstanceId - expression - fullExecutionMode - ValidationExceptionErrorExceptionString evaluateExpressionInContextAsString(long modelInstanceId, Long contextId, String expression, boolean fullExecutionMode) throws ValidationException, ErrorException
modelInstanceId - contextId - the identifier of the context in which the expression
should be evaluatedexpression - fullExecutionMode - ValidationExceptionErrorExceptionList<String> evaluateExpressionsAsString(long modelInstanceId, List<String> expressions, boolean fullExecutionMode) throws ValidationException, ErrorException
modelInstanceId - expressions - fullExecutionMode - ValidationExceptionErrorExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.