public interface TestSupportService
Modifier and Type | Method and Description |
---|---|
EvaluationResultValue |
attachModelInstance(byte[] serializedModelInstance)
Attach detached model instance.
|
EvaluationResultValue |
cleanEvaluationLevelData(long modelInstanceId,
String level)
Cleans evaluation data of the specified level.
|
EvaluationResultValue |
cleanEvaluationLevelDataDetached(byte[] serializedModelInstance,
String level)
Cleans evaluation data of the specified level.
|
EvaluationResultValue |
createContextInEvaluationLevelDetached(byte[] serializedModelInstance,
String evaluationLevel,
boolean mergeEvaluation) |
EvaluationResultValue |
detacheModelInstance(long modelInstanceId,
long detachingTaskId)
Detach model instance.
|
EvaluationResultValue |
evaluateExpression(long modelInstanceId,
Long contextId,
String expression,
boolean fullExecutionMode,
boolean mergeEvaluation)
Parses the string source of expression and evaluates them.
|
EvaluationResultValue |
evaluateExpressionInEvaluationLevel(long modelInstanceId,
Long contextId,
String expression,
String evaluationLevel,
boolean mergeEvaluation)
Parses the string source of expression and evaluates them.
|
EvaluationResultValue |
evaluateExpressionInEvaluationLevelDetached(byte[] serializedModelInstance,
Long contextId,
String source,
String evaluationLevel,
boolean mergeEvaluation)
Evaluates expression in the detached model instance.
|
List<ProcessLog> |
findProcessLogsByModelInstanceId(long modelInstanceId)
Finds
ProcessLog s by the model instance id. |
ObjectValue |
getVariableValue(long modelInstanceId,
long contextId,
String variableName) |
Boolean |
isCutLongStrings() |
Boolean |
isDumpModelInstanceOnException() |
Boolean |
isRunningOn(JEEServer server) |
EvaluationResultValue |
removeEvaluationLevelData(long modelInstanceId,
String level)
Removes evaluation data of the specified level.
|
EvaluationResultValue |
removeEvaluationLevelDataDetached(byte[] serializedModelInstance,
String level)
Removes evaluation data of the specified level.
|
EvaluationResultValue |
runGC(long modelInstanceId) |
void |
setCutLongStrings(boolean cutLongStrings) |
void |
setDumpModelInstanceOnException(boolean dumpModelInstanceOnException) |
void |
setVariableValue(long modelInstanceId,
long contextId,
String variableName,
ObjectValue value) |
void |
submitTodo(long todoId,
long modelInstanceId)
Submits the given Todo.
|
EvaluationResultValue |
synchronize(byte[] serializedModelInstance) |
void |
throwEscalation(long todoId,
String escalationCode,
ObjectValue payload) |
@RequestWrapper(className="com.whitestein.lsps.engine.testsupportservice.EvaluateExpression") EvaluationResultValue evaluateExpression(long modelInstanceId, Long contextId, String expression, boolean fullExecutionMode, boolean mergeEvaluation) throws ValidationException, ErrorException
modelInstanceId
- contextId
- expression
- fullExecutionMode
- mergeEvaluation
- ValidationException
ErrorException
EvaluationResultValue evaluateExpressionInEvaluationLevel(long modelInstanceId, Long contextId, String expression, String evaluationLevel, boolean mergeEvaluation) throws ValidationException, ErrorException
modelInstanceId
- contextId
- expression
- evaluationLevel
- mergeEvaluation
- ValidationException
ErrorException
EvaluationResultValue detacheModelInstance(long modelInstanceId, long detachingTaskId)
modelInstanceId
- detachingTaskId
- the identifier of a task which detaches the model instanceEvaluationResultValue attachModelInstance(byte[] serializedModelInstance)
serializedModelInstance
- EvaluationResultValue evaluateExpressionInEvaluationLevelDetached(byte[] serializedModelInstance, Long contextId, String source, String evaluationLevel, boolean mergeEvaluation) throws ValidationException, ErrorException
serializedModelInstance
- contextId
- source
- evaluationLevel
- mergeEvaluation
- ValidationException
ErrorException
EvaluationResultValue cleanEvaluationLevelData(long modelInstanceId, String level)
modelInstanceId
- level
- EvaluationResultValue cleanEvaluationLevelDataDetached(byte[] serializedModelInstance, String level)
serializedModelInstance
- level
- EvaluationResultValue removeEvaluationLevelData(long modelInstanceId, String level)
modelInstanceId
- level
- EvaluationResultValue removeEvaluationLevelDataDetached(byte[] serializedModelInstance, String level)
serializedModelInstance
- level
- EvaluationResultValue createContextInEvaluationLevelDetached(byte[] serializedModelInstance, String evaluationLevel, boolean mergeEvaluation)
EvaluationResultValue synchronize(byte[] serializedModelInstance)
EvaluationResultValue runGC(long modelInstanceId)
Boolean isDumpModelInstanceOnException()
void setDumpModelInstanceOnException(boolean dumpModelInstanceOnException)
List<ProcessLog> findProcessLogsByModelInstanceId(long modelInstanceId)
ProcessLog
s by the model instance id.modelInstanceId
- the identifier of the model instanceProcessLog
svoid submitTodo(long todoId, long modelInstanceId)
todoId
- the identifier of the todo which is to be submittedmodelInstanceId
- the the identifier of the model instanceBoolean isCutLongStrings()
void setCutLongStrings(boolean cutLongStrings)
ObjectValue getVariableValue(long modelInstanceId, long contextId, String variableName)
void setVariableValue(long modelInstanceId, long contextId, String variableName, ObjectValue value)
void throwEscalation(long todoId, String escalationCode, ObjectValue payload)
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.