Class GetAvailableAttachmentsParams.Builder

    • Method Detail

      • build

        public GetAvailableAttachmentsParams 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.