public class ProcessUtils extends Object
Constructor and Description |
---|
ProcessUtils(ModelProviderService modelProviderService)
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)
Resumes the execution.
|
void |
suspend(ModelInstanceEntity modelInstanceEntity)
Suspends the execution.
|
public ProcessUtils(ModelProviderService modelProviderService)
modelProviderService
- public void suspend(ModelInstanceEntity modelInstanceEntity)
modelInstanceEntity
- the model instance entitypublic void resume(ModelInstanceEntity modelInstanceEntity)
modelInstanceEntity
- the model instance entitypublic ExecutableTask getExecutableTask(Task task) throws ErrorException
task
- ErrorException
public ExecutableTask getExecutableTask(com.whitestein.lsps.model.TaskInfo taskInfo) throws ErrorException
taskInfo
- ErrorException
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.