Package de.xima.fc.workflow.itemlist
Class ItemData
- java.lang.Object
 - 
- de.xima.fc.workflow.itemlist.ItemData
 
 
- 
public final class ItemData extends Object
Used internally by theEWorkflowNodeType.FC_FOR_EACH_LOOPto represent the items over which to iterate, depending on the selectedEForEachLoopItemListSource.- Since:
 - 8.2.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classItemData.BuilderA builder for a single item of an iteration. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ItemData.Builderbuilder(int key)Creates a builder for a single item of an iteration.static ItemData.Builderbuilder(String key)Creates a builder for a single item of an iteration.IWorkflowAttachmentValuegetAttachments()Attachments to make available while the loop body is executed with the current value.IWorkflowFileValuegetFiles()Files to make available while the loop body is executed with the current value.StringgetKey()INodeExecutionDatagetNodeExecutionData()ObjectgetValue() 
 - 
 
- 
- 
Method Detail
- 
getAttachments
public IWorkflowAttachmentValue getAttachments()
Attachments to make available while the loop body is executed with the current value.- Returns:
 - Attachments to make available.
 
 
- 
getFiles
public IWorkflowFileValue getFiles()
Files to make available while the loop body is executed with the current value.- Returns:
 - Files to make available.
 
 
- 
getKey
public String 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
public INodeExecutionData getNodeExecutionData()
- Returns:
 - Additional data to make available while the loop body is executed with the current value.
 
 
- 
getValue
public Object getValue()
- Returns:
 - The item from a loop iteration. For map-like data structures, this is the 
Map.Entry.getValue(). 
 
- 
builder
public static ItemData.Builder builder(String key)
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
public static ItemData.Builder builder(int key)
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.
 
 
 - 
 
 -