Class ItemData
java.lang.Object
de.xima.fc.workflow.itemlist.ItemData
Used internally by the
EWorkflowNodeType.FC_FOR_EACH_LOOP to represent the items over which to iterate,
depending on the selected EForEachLoopItemListSource.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder for a single item of an iteration. -
Method Summary
Modifier and TypeMethodDescriptionstatic ItemData.Builderbuilder(int key) Creates a builder for a single item of an iteration.static ItemData.BuilderCreates a builder for a single item of an iteration.Attachments to make available while the loop body is executed with the current value.getFiles()Files to make available while the loop body is executed with the current value.getKey()getValue()
-
Method Details
-
getAttachments
Attachments to make available while the loop body is executed with the current value.- Returns:
- Attachments to make available.
-
getFiles
Files to make available while the loop body is executed with the current value.- Returns:
- Files to make available.
-
getKey
- Returns:
- The key for the item from a loop iteration. This may be either just the loop index itself, e.g. when
iterating over a list-like data structure; or the
mapping keywhen iterating over a map-like data structure.
-
getNodeExecutionData
- Returns:
- Additional data to make available while the loop body is executed with the current value.
-
getValue
- Returns:
- The item from a loop iteration. For map-like data structures, this is the
Map.Entry.getValue().
-
builder
Creates a builder for a single item of an iteration.- Parameters:
key- The key for the item from a loop iteration. This may be either just the loop index itself, e.g. when iterating over a list-like data structure; or themapping keywhen iterating over a map-like data structure.- Returns:
- A builder for a single item of an iteration.
-
builder
Creates a builder for a single item of an iteration.- Parameters:
key- The key for the item from a loop iteration. This may be either just the loop index itself, e.g. when iterating over a list-like data structure; or themapping keywhen iterating over a map-like data structure.- Returns:
- A builder for a single item of an iteration.
-