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
ProcessLogs by the model instance id. |
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 |
submitTodo(long todoId,
long modelInstanceId)
Submits the given Todo.
|
EvaluationResultValue |
synchronize(byte[] serializedModelInstance) |
@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 - ValidationExceptionErrorExceptionEvaluationResultValue evaluateExpressionInEvaluationLevel(long modelInstanceId, Long contextId, String expression, String evaluationLevel, boolean mergeEvaluation) throws ValidationException, ErrorException
modelInstanceId - contextId - expression - evaluationLevel - mergeEvaluation - ValidationExceptionErrorExceptionEvaluationResultValue 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 - ValidationExceptionErrorExceptionEvaluationResultValue 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)
ProcessLogs by the model instance id.modelInstanceId - the identifier of the model instanceProcessLogsvoid 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)
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.