Package com.merative.acd.v1.util
Class FlowUtil.Builder
- java.lang.Object
-
- com.merative.acd.v1.util.FlowUtil.Builder
-
- Enclosing class:
- FlowUtil
public static class FlowUtil.Builder extends java.lang.Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowUtil.Builder
addAnnotators(java.lang.String annotators)
Adds an annotators to annotators.FlowUtil.Builder
annotators(java.util.List<java.lang.String> annotators)
Set the annotators.FlowUtil.Builder
async(java.lang.Boolean async)
Set the async.Flow
build()
Builds a FlowUtil.
-
-
-
Method Detail
-
build
public Flow build()
Builds a FlowUtil.- Returns:
- the flowUtil
-
addAnnotators
public FlowUtil.Builder addAnnotators(java.lang.String annotators)
Adds an annotators to annotators.- Parameters:
annotators
- the new annotators- Returns:
- the FlowUtil builder
-
annotators
public FlowUtil.Builder annotators(java.util.List<java.lang.String> annotators)
Set the annotators. Existing annotators will be replaced.- Parameters:
annotators
- the annotators- Returns:
- the FlowUtil builder
-
async
public FlowUtil.Builder async(java.lang.Boolean async)
Set the async.- Parameters:
async
- the async- Returns:
- the FlowUtil builder
-
-