Class ItemData

    • 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 key when 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 the mapping key when 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 the mapping key when iterating over a map-like data structure.
        Returns:
        A builder for a single item of an iteration.