Package de.xima.fc.workflow.itemlist
Class ItemData.Builder
- java.lang.Object
-
- de.xima.fc.workflow.itemlist.ItemData.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemData.Builder
attachments(IWorkflowAttachmentValue attachments)
Sets attachments to make available while the loop body is executed with the current value.ItemData
build()
Creates a newItemData
instance with the current configuration.ItemData.Builder
files(IWorkflowFileValue files)
Sets files to make available while the loop body is executed with the current value.ItemData.Builder
nodeExecutionData(INodeExecutionData nodeExecutionData)
Sets additional data to make available while the loop body is executed with the current value.ItemData.Builder
value(Object value)
The item from a loop iteration.
-
-
-
Method Detail
-
attachments
public ItemData.Builder attachments(IWorkflowAttachmentValue attachments)
Sets attachments to make available while the loop body is executed with the current value.- Parameters:
attachments
- attachments to make available.- Returns:
- This builder for chaining method calls.
-
build
public ItemData build()
Creates a newItemData
instance with the current configuration. Any modifications to this builder after calling this method will not affect the returned instance.- Returns:
- A new
ItemData
instance with the current configuration.
-
files
public ItemData.Builder files(IWorkflowFileValue files)
Sets files to make available while the loop body is executed with the current value.- Parameters:
files
- Files to make available.- Returns:
- This builder for chaining method calls.
-
nodeExecutionData
public ItemData.Builder nodeExecutionData(INodeExecutionData nodeExecutionData)
Sets additional data to make available while the loop body is executed with the current value.- Parameters:
nodeExecutionData
- Additional contextual data to make available.- Returns:
- This builder for chaining method calls.
-
value
public ItemData.Builder value(Object value)
The item from a loop iteration. For map-like data structures, this is theMap.Entry.getValue()
.- Parameters:
value
- The item from a loop iteration.- Returns:
- This builder for chaining method calls.
-
-