Package de.xima.fc.workflow
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 aGetAvailableAttachmentsParams
POJO.- Since:
- 8.1.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAvailableAttachmentsParams
build()
Creates a new params instance with the current configuration of this builder.GetAvailableAttachmentsParams.Builder
includePreviousNode(boolean includePreviousNode)
Whether to include attachments from previously executed workflow nodes, i.e.GetAvailableAttachmentsParams.Builder
includeSearch(boolean includeSearch)
Whether to include attachments from an attachment file name search, i.e.GetAvailableAttachmentsParams.Builder
includeUpload(boolean includeUpload)
Whether to include attachments from upload elements, i.e.
-
-
-
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 typePREVIOUS_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 typeSEARCH
.- 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 typeUPLOAD
.- Parameters:
includeUpload
- Whether to include attachments form previous nodes.- Returns:
- This builder instance for chaining method calls.
-
-