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
- ValidationException
ErrorException
List<EvaluationResultValue> evaluateExpressions(long modelInstanceId, List<String> expressions, boolean fullExecutionMode) throws ValidationException, ErrorException
modelInstanceId
- expressions
- fullExecutionMode
- ValidationException
ErrorException
EvaluationResultValue evaluateExpressionInModel(long modelId, String expression, boolean fullExecutionMode) throws ValidationException, ErrorException
modelId
- expression
- fullExecutionMode
- ValidationException
ErrorException
List<EvaluationResultValue> evaluateExpressionsInModel(long modelId, List<String> expressions, boolean fullExecutionMode) throws ValidationException, ErrorException
modelId
- expressions
- fullExecutionMode
- ValidationException
ErrorException
String evaluateExpressionAsString(long modelInstanceId, String expression, boolean fullExecutionMode) throws ValidationException, ErrorException
modelInstanceId
- expression
- fullExecutionMode
- ValidationException
ErrorException
String 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
- ValidationException
ErrorException
List<String> evaluateExpressionsAsString(long modelInstanceId, List<String> expressions, boolean fullExecutionMode) throws ValidationException, ErrorException
modelInstanceId
- expressions
- fullExecutionMode
- ValidationException
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.