Class GetAvailableAttachmentsParams.Builder

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

public static final class GetAvailableAttachmentsParams.Builder extends Object
A simple builder for configuring a GetAvailableAttachmentsParams POJO.
Since:
8.1.0
  • Method Details

    • build

      Creates a new params instance with the current configuration of this builder. Subsequent changes to this builder are not reflected by the returned instance.
      Returns:
      A new params instance.
    • includePreviousNode

      public GetAvailableAttachmentsParams.Builder includePreviousNode(boolean includePreviousNode)
      Whether to include attachments from previously executed workflow nodes, i.e. attachment items of type PREVIOUS_NODE.
      Parameters:
      includePreviousNode - Whether to include attachments form previous nodes.
      Returns:
      This builder instance for chaining method calls.
    • includeSearch

      public GetAvailableAttachmentsParams.Builder includeSearch(boolean includeSearch)
      Whether to include attachments from an attachment file name search, i.e. attachment items of type SEARCH.
      Parameters:
      includeSearch - Whether to include attachments form previous nodes.
      Returns:
      This builder instance for chaining method calls.
    • includeUpload

      public GetAvailableAttachmentsParams.Builder includeUpload(boolean includeUpload)
      Whether to include attachments from upload elements, i.e. attachment items of type UPLOAD.
      Parameters:
      includeUpload - Whether to include attachments form previous nodes.
      Returns:
      This builder instance for chaining method calls.