Class GetAvailableResourcesParams
java.lang.Object
de.xima.fc.workflow.GetAvailableResourcesParams
- All Implemented Interfaces:
Serializable
POJO with parameters for
IWorkflowProvider.getAvailableResources(NodeKey, GetAvailableResourcesParams).- Since:
- 8.2.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA simple builder for configuring aGetAvailableResourcesParamsPOJO. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder for configuring aGetAvailableResourcesParamsinstance.A list of content types for filtering the returned resources.static GetAvailableResourcesParamsdefaults()Gets a params instance with the defaults, which includes all types of attachments.booleanA list of extensions for filtering the returned resources.inthashCode()booleanWhether to include attachments from an attachment file name search, i.e.booleanWhether to include client files, i.e.booleanWhether to include external files, i.e.booleanWhether to include attachments from fired triggers, i.e.booleanWhether to include attachments from form files, i.e.booleanWhether to include attachments from previously executed workflow nodes, i.e.booleanWhether to include attachments from upload elements, i.e.
-
Method Details
-
contentTypes
A list of content types for filtering the returned resources. When no content types are given, no filtering is applied, i.e.all resources are returned. When an item of this array contains a comma, it is split into several content types. SoSet.of("text/plain,image/jpg")is the same asSet.of("text/plain", "image/jpg").- Returns:
- The list of content types.
-
equals
-
extensions
A list of extensions for filtering the returned resources. When no extensions are given, no filtering is applied, i.e.all resources are returned. When an item of this array contains a comma, it is split into several extension. SoSet.of("pdf,docx")is the same asSet.of("pdf", "docx").- Returns:
- The list of extensions.
-
hashCode
-
includeAttachmentSearch
public boolean includeAttachmentSearch()Whether to include attachments from an attachment file name search, i.e.attachment itemsof typeATTACHMENT_SEARCH.- Returns:
- Whether to include attachments form previous nodes.
-
includeClientFile
public boolean includeClientFile()Whether to include client files, i.e.attachment itemsof typeCLIENT.- Returns:
- Whether to include attachments from client files.
-
includeExternal
public boolean includeExternal()Whether to include external files, i.e.attachment itemsof typeEXTERNAL.- Returns:
- Whether to include attachments from external files.
-
includeFiredTrigger
public boolean includeFiredTrigger()Whether to include attachments from fired triggers, i.e.attachment itemsof typeFIRED_TRIGGER.- Returns:
- Whether to include attachments from fired triggers.
-
includeFormFile
public boolean includeFormFile()Whether to include attachments from form files, i.e.attachment itemsof typeFORM.- Returns:
- Whether to include attachments from form files.
-
includePreviousNode
public boolean includePreviousNode()Whether to include attachments from previously executed workflow nodes, i.e.attachment itemsof typeFILE_PROVIDE_ACTION.- Returns:
- Whether to include attachments form previous nodes.
-
includeUpload
public boolean includeUpload()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 aGetAvailableResourcesParamsinstance. 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.
-