Package de.xima.fc.workflow
Class GetAvailableAttachmentsParams.Builder
java.lang.Object
de.xima.fc.workflow.GetAvailableAttachmentsParams.Builder
- Enclosing class:
- GetAvailableAttachmentsParams
A simple builder for configuring a
GetAvailableAttachmentsParams
POJO.- Since:
- 8.1.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a new params instance with the current configuration of this builder.includePreviousNode
(boolean includePreviousNode) Whether to include attachments from previously executed workflow nodes, i.e.includeSearch
(boolean includeSearch) Whether to include attachments from an attachment file name search, i.e.includeUpload
(boolean includeUpload) Whether to include attachments from upload elements, i.e.
-
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
Whether to include attachments from previously executed workflow nodes, i.e.attachment items
of typePREVIOUS_NODE
.- Parameters:
includePreviousNode
- Whether to include attachments form previous nodes.- Returns:
- This builder instance for chaining method calls.
-
includeSearch
Whether to include attachments from an attachment file name search, i.e.attachment items
of typeSEARCH
.- Parameters:
includeSearch
- Whether to include attachments form previous nodes.- Returns:
- This builder instance for chaining method calls.
-
includeUpload
Whether to include attachments from upload elements, i.e.attachment items
of typeUPLOAD
.- Parameters:
includeUpload
- Whether to include attachments form previous nodes.- Returns:
- This builder instance for chaining method calls.
-