Package de.xima.fc.workflow
Class GetAvailableAttachmentsParams
- java.lang.Object
-
- de.xima.fc.workflow.GetAvailableAttachmentsParams
-
public final class GetAvailableAttachmentsParams extends Object
POJO with parameters forIWorkflowProvider.getAvailableAttachments(NodeKey, GetAvailableAttachmentsParams)
.- Since:
- 8.1.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetAvailableAttachmentsParams.Builder
A simple builder for configuring aGetAvailableAttachmentsParams
POJO.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetAvailableAttachmentsParams.Builder
builder()
Creates a new builder for configuring aGetAvailableAttachmentsParams
instance.static GetAvailableAttachmentsParams
defaults()
Gets a params instance with the defaults, which includes all types of attachments.boolean
isIncludePreviousNode()
Whether to include attachments from previously executed workflow nodes, i.e.boolean
isIncludeSearch()
Whether to include attachments from an attachment file name search, i.e.boolean
isIncludeUpload()
Whether to include attachments from upload elements, i.e.
-
-
-
Method Detail
-
isIncludePreviousNode
public boolean isIncludePreviousNode()
Whether to include attachments from previously executed workflow nodes, i.e.attachment items
of typePREVIOUS_NODE
.- Returns:
- Whether to include attachments form previous nodes.
-
isIncludeSearch
public boolean isIncludeSearch()
Whether to include attachments from an attachment file name search, i.e.attachment items
of typeSEARCH
.- Returns:
- Whether to include attachments form previous nodes.
-
isIncludeUpload
public boolean isIncludeUpload()
Whether to include attachments from upload elements, i.e.attachment items
of typeUPLOAD
.- Returns:
- Whether to include attachments form previous nodes.
-
builder
public static GetAvailableAttachmentsParams.Builder builder()
Creates a new builder for configuring aGetAvailableAttachmentsParams
instance. The returned builder starts with thedefaults()
.- Returns:
- A new builder for a params instance.
-
defaults
public static GetAvailableAttachmentsParams defaults()
Gets a params instance with the defaults, which includes all types of attachments.- Returns:
- A params instance with the defaults.
-
-