Interface IFcForEachLoopsPropsBuilder
- All Superinterfaces:
IWorkflowElementBuilder<WorkflowNode, FcForEachLoopProps>
public interface IFcForEachLoopsPropsBuilder
extends IWorkflowElementBuilder<WorkflowNode, FcForEachLoopProps>
A builder for a workflow node of type
EWorkflowNodeType.FC_FOR_EACH_LOOP that loops over a fixed collection
of elements.- Since:
- 8.3.3
-
Method Summary
Modifier and TypeMethodDescriptionbody(WorkflowNode... body) Sets the child nodes to execute once for each element in the collection.default IFcForEachLoopsPropsBuilderbody(Iterable<WorkflowNode> body) Sets the child nodes to execute once for each element in the collection.description(String description) Sets the description of the node.Sets the name of the node.sourceJson(String json) Loops over a JSON value, usually an array (its items) or object (its entries).sourceJsonValue(Object json) Loops over a JSON value, usually an array (its items) or object (its entries).sourceProps(AListItemSourceProps sourceProps) Sets the source properties of the node that define the collection to loop over.sourceRepeatedFormField(String formFieldName) Loops over a form field that is a repeated form field.Methods inherited from interface IWorkflowElementBuilder
build, buildProps
-
Method Details
-
body
Sets the child nodes to execute once for each element in the collection.Can be any node or list of nodes. When not a single node of type
EWorkflowNodeType.SEQUENCE, the node or nodes are wrapped in a sequence node.- Parameters:
body- The child nodes to execute.- Returns:
- This builder for chaining method calls.
-
body
Sets the child nodes to execute once for each element in the collection.Can be any node or list of nodes. When not a single node of type
EWorkflowNodeType.SEQUENCE, the node or nodes are wrapped in a sequence node.- Parameters:
body- The child nodes to execute.- Returns:
- This builder for chaining method calls.
-
description
Sets the description of the node.- Parameters:
description- The description of the node.- Returns:
- This builder for chaining method calls.
-
name
Sets the name of the node.- Parameters:
name- The name of the node.- Returns:
- This builder for chaining method calls.
-
sourceJson
Loops over a JSON value, usually an array (its items) or object (its entries). For any other JSON value, loops over that single element.- Parameters:
json- The string representation of the JSON value to loop over.- Returns:
- This builder for chaining method calls.
-
sourceJsonValue
Loops over a JSON value, usually an array (its items) or object (its entries). For any other JSON value, loops over that single element.- Parameters:
json- The JSON value to loop over.- Returns:
- This builder for chaining method calls.
-
sourceProps
Sets the source properties of the node that define the collection to loop over.- Parameters:
sourceProps- The source properties of the node.- Returns:
- This builder for chaining method calls.
-
sourceRepeatedFormField
Loops over a form field that is a repeated form field. Can be a repeated container or a field inside a repeated container.- Parameters:
formFieldName- The name of the form field to loop over.- Returns:
- This builder for chaining method calls.
-