public interface WorkflowEngine
WorkflowEngine interface.
This interface will eventually encompass all the methods that a workflow engine should have to implement including preparation of workflows and watching workflows. Currently, workflow status checker code still needs to be modified engine-by-engine.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.
|
ReturnValue |
runWorkflow()
Run the prepared workflow.
|
ReturnValue |
watchWorkflow(String jobToken)
Watch a workflow and return running information until it completes.
|
void prepareWorkflow(AbstractWorkflowDataModel objectModel)
objectModel
- model of the workflow to prepare to runReturnValue runWorkflow()
String getLookupToken()
String getWorkingDirectory()
ReturnValue watchWorkflow(String jobToken)
jobToken
- Copyright © 2015 SeqWare. All rights reserved.