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 classGetAvailableAttachmentsParams.BuilderA simple builder for configuring aGetAvailableAttachmentsParamsPOJO.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetAvailableAttachmentsParams.Builderbuilder()Creates a new builder for configuring aGetAvailableAttachmentsParamsinstance.static GetAvailableAttachmentsParamsdefaults()Gets a params instance with the defaults, which includes all types of attachments.booleanisIncludePreviousNode()Whether to include attachments from previously executed workflow nodes, i.e.booleanisIncludeSearch()Whether to include attachments from an attachment file name search, i.e.booleanisIncludeUpload()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 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
public static GetAvailableAttachmentsParams.Builder builder()
Creates a new builder for configuring aGetAvailableAttachmentsParamsinstance. 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.
-
-