Class WorkflowInstanceFactory
- java.lang.Object
-
- io.nflow.engine.workflow.instance.WorkflowInstanceFactory
-
@Component public class WorkflowInstanceFactory extends Object
Factory to create workflow instances.
-
-
Constructor Summary
Constructors Constructor Description WorkflowInstanceFactory(ObjectStringMapper objectMapper)Create a workflow instance factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowInstance.BuildernewWorkflowInstanceBuilder()Return a new workflow instance builder.
-
-
-
Constructor Detail
-
WorkflowInstanceFactory
@Inject public WorkflowInstanceFactory(ObjectStringMapper objectMapper)
Create a workflow instance factory.- Parameters:
objectMapper- The object mapper to be used to serialize and deserialize the state variables.
-
-
Method Detail
-
newWorkflowInstanceBuilder
public WorkflowInstance.Builder newWorkflowInstanceBuilder()
Return a new workflow instance builder.- Returns:
- Workflow instance builder.
-
-