public class WhiteStarWorkflowEngine extends Object implements WorkflowEngine
| Constructor and Description |
|---|
WhiteStarWorkflowEngine(AbstractWorkflowDataModel objectModel,
boolean useSge,
String threadsSgeParamFormat,
String maxMemorySgeParamFormat,
boolean createDirectories,
boolean parallel) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLookupToken()
An engine-specific token for this workflow run that can be used to lookup relevant runtime data.
|
String |
getWorkingDirectory()
The working directory for the prepared workflow run, or null if not yet prepared or if not applicable for the concrete engine.
|
void |
prepareWorkflow(AbstractWorkflowDataModel objectModel)
Prepare the workflow according to the info filled in the input objectModel.
|
void |
prepareWorkflow(AbstractWorkflowDataModel objectModel,
File nfsWorkDir) |
ReturnValue |
runWorkflow()
Run the prepared workflow.
|
ReturnValue |
runWorkflow(SortedSet<String> set)
Run a workflow, steps contained within set are skipped.
|
ReturnValue |
watchWorkflow(String jobToken)
Watch a workflow and return running information until it completes.
|
public WhiteStarWorkflowEngine(AbstractWorkflowDataModel objectModel, boolean useSge, String threadsSgeParamFormat, String maxMemorySgeParamFormat, boolean createDirectories, boolean parallel)
objectModel - useSge - threadsSgeParamFormat - maxMemorySgeParamFormat - createDirectories - true when creating the engine to launch a jobparallel - public void prepareWorkflow(AbstractWorkflowDataModel objectModel)
WorkflowEngineprepareWorkflow in interface WorkflowEngineobjectModel - model of the workflow to prepare to runpublic void prepareWorkflow(AbstractWorkflowDataModel objectModel, File nfsWorkDir)
objectModel - nfsWorkDir - pass a working directory to skip creation of scripts in the generated-scriptspublic ReturnValue runWorkflow()
WorkflowEnginerunWorkflow in interface WorkflowEnginepublic ReturnValue runWorkflow(SortedSet<String> set)
set - a sorted set of workflow stepspublic ReturnValue watchWorkflow(String jobToken)
WorkflowEnginewatchWorkflow in interface WorkflowEnginepublic String getWorkingDirectory()
WorkflowEnginegetWorkingDirectory in interface WorkflowEnginepublic String getLookupToken()
WorkflowEnginegetLookupToken in interface WorkflowEngineCopyright © 2015 SeqWare. All rights reserved.