Package de.xima.fc.workflow
Class GetAvailableAttachmentsParams
java.lang.Object
de.xima.fc.workflow.GetAvailableAttachmentsParams
POJO with parameters for
IWorkflowProvider.getAvailableAttachments(NodeKey, GetAvailableAttachmentsParams)
.- Since:
- 8.1.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A simple builder for configuring aGetAvailableAttachmentsParams
POJO. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates a new builder for configuring aGetAvailableAttachmentsParams
instance.defaults()
Gets a params instance with the defaults, which includes all types of attachments.boolean
Whether to include attachments from previously executed workflow nodes, i.e.boolean
Whether to include attachments from an attachment file name search, i.e.boolean
Whether to include attachments from upload elements, i.e.
-
Method Details
-
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
Creates a new builder for configuring aGetAvailableAttachmentsParams
instance. The returned builder starts with thedefaults()
.- Returns:
- A new builder for a params instance.
-
defaults
Gets a params instance with the defaults, which includes all types of attachments.- Returns:
- A params instance with the defaults.
-