public class ProcessUtils extends Object
Constructor and Description |
---|
ProcessUtils(ModelProvider modelProvider)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
ExecutableTask |
getExecutableTask(Task task)
Returns an instance of executable task for this task.
|
ExecutableTask |
getExecutableTask(com.whitestein.lsps.model.TaskInfo taskInfo)
Returns an instance of executable task for this task.
|
void |
resume(ModelInstanceEntity modelInstanceEntity,
ModelInstanceUtilsService modelInstanceUtilsService)
Resumes the execution.
|
void |
suspend(ModelInstanceEntity modelInstanceEntity,
ModelInstanceUtilsService modelInstanceUtilsService)
Suspends the execution.
|
public ProcessUtils(ModelProvider modelProvider)
modelProvider
- public void suspend(ModelInstanceEntity modelInstanceEntity, ModelInstanceUtilsService modelInstanceUtilsService)
modelInstanceEntity
- the model instance entitymodelInstanceUtilsService
- public void resume(ModelInstanceEntity modelInstanceEntity, ModelInstanceUtilsService modelInstanceUtilsService)
modelInstanceEntity
- the model instance entitymodelInstanceUtilsService
- public ExecutableTask getExecutableTask(Task task) throws ErrorException
task
- ErrorException
public ExecutableTask getExecutableTask(com.whitestein.lsps.model.TaskInfo taskInfo) throws ErrorException
taskInfo
- ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.