Package com.dtolabs.rundeck.core.rules
Class WorkflowEngineBuilder
- java.lang.Object
-
- com.dtolabs.rundeck.core.rules.WorkflowEngineBuilder
-
- All Implemented Interfaces:
WorkflowSystemBuilder
public class WorkflowEngineBuilder extends java.lang.Object implements WorkflowSystemBuilder
Created by greg on 5/18/16.
-
-
Constructor Summary
Constructors Constructor Description WorkflowEngineBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowSystem<java.util.Map<java.lang.String,java.lang.String>>
build()
static WorkflowEngineBuilder
builder()
static WorkflowEngineBuilder
builder(WorkflowEngineBuilder source)
WorkflowEngineBuilder
executor(java.util.function.Supplier<java.util.concurrent.ExecutorService> executor)
WorkflowEngineBuilder
listener(WorkflowSystemEventListener listener)
WorkflowSystemBuilder
listeners(java.util.List<WorkflowSystemEventListener> listeners)
WorkflowEngineBuilder
ruleEngine(RuleEngine engine)
WorkflowEngineBuilder
state(MutableStateObj state)
-
-
-
Method Detail
-
builder
public static WorkflowEngineBuilder builder(WorkflowEngineBuilder source)
-
builder
public static WorkflowEngineBuilder builder()
-
ruleEngine
public WorkflowEngineBuilder ruleEngine(RuleEngine engine)
- Specified by:
ruleEngine
in interfaceWorkflowSystemBuilder
-
state
public WorkflowEngineBuilder state(MutableStateObj state)
- Specified by:
state
in interfaceWorkflowSystemBuilder
-
executor
public WorkflowEngineBuilder executor(java.util.function.Supplier<java.util.concurrent.ExecutorService> executor)
- Specified by:
executor
in interfaceWorkflowSystemBuilder
-
listener
public WorkflowEngineBuilder listener(WorkflowSystemEventListener listener)
- Specified by:
listener
in interfaceWorkflowSystemBuilder
-
listeners
public WorkflowSystemBuilder listeners(java.util.List<WorkflowSystemEventListener> listeners)
- Specified by:
listeners
in interfaceWorkflowSystemBuilder
-
build
public WorkflowSystem<java.util.Map<java.lang.String,java.lang.String>> build()
- Specified by:
build
in interfaceWorkflowSystemBuilder
-
-