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 aGetAvailableAttachmentsParamsPOJO.- Since:
- 8.1.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAvailableAttachmentsParamsbuild()Creates a new params instance with the current configuration of this builder.GetAvailableAttachmentsParams.BuilderincludePreviousNode(boolean includePreviousNode)Whether to include attachments from previously executed workflow nodes, i.e.GetAvailableAttachmentsParams.BuilderincludeSearch(boolean includeSearch)Whether to include attachments from an attachment file name search, i.e.GetAvailableAttachmentsParams.BuilderincludeUpload(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 itemsof 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 itemsof 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 itemsof typeUPLOAD.- Parameters:
includeUpload- Whether to include attachments form previous nodes.- Returns:
- This builder instance for chaining method calls.
-
-