-
Notifications
You must be signed in to change notification settings - Fork 225
defining workflow engine
Mahmoud Ben Hassine edited this page Jun 30, 2017
·
2 revisions
The WorkFlowEngine
interface represents a workflow engine :
public interface WorkFlowEngine {
WorkReport run(WorkFlow workFlow);
}
Easy Flows provides an implementation of this interface that you can get using the WorkFlowEngineBuilder
:
WorkFlowEngine workFlowEngine = aNewWorkFlowEngine().build();
You can then execute a WorkFlow
by invoking the run
method :
WorkFlow workFlow = ... // create work flow
WorkReport workReport = workFlowEngine.run(workflow);
At the end of execution, a WorkReport
is returned.
-
Introduction
-
User guide
-
Get involved