Class ItemData.Builder

java.lang.Object
de.xima.fc.workflow.itemlist.ItemData.Builder
Enclosing class:
ItemData

public static final class ItemData.Builder extends Object
A builder for a single item of an iteration.
Since:
8.2.0
Author:
XIMA MEDIA GmbH
  • Method Details

    • 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 new ItemData 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 the Map.Entry.getValue().
      Parameters:
      value - The item from a loop iteration.
      Returns:
      This builder for chaining method calls.