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 classA simple builder for configuring aGetAvailableAttachmentsParamsPOJO. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder for configuring aGetAvailableAttachmentsParamsinstance.defaults()Gets a params instance with the defaults, which includes all types of attachments.booleanWhether to include attachments from previously executed workflow nodes, i.e.booleanWhether to include attachments from an attachment file name search, i.e.booleanWhether 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 itemsof 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 itemsof typeSEARCH.- Returns:
- Whether to include attachments form previous nodes.
-
isIncludeUpload
public boolean isIncludeUpload()Whether to include attachments from upload elements, i.e.attachment itemsof typeUPLOAD.- Returns:
- Whether to include attachments form previous nodes.
-
builder
Creates a new builder for configuring aGetAvailableAttachmentsParamsinstance. 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.
-