Class WorkflowFileValueBuilder
java.lang.Object
de.xima.fc.workflow.WorkflowFileValueBuilder
Simple builder for a
IWorkflowFileValue.- Since:
- 8.2.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a new file value with the current state of this builder.Adds files to this builder, using the default file type.Adds files to this builder, using the default file type.Adds files to this builder.Adds files to this builder.files(IWorkflowFile... files) Adds files to this builder, using the default file type.files(Iterable<IWorkflowFile> files) Adds files to this builder, using the default file type.files(String key, IWorkflowFile... files) Adds files to this builder.files(String key, Iterable<IWorkflowFile> files) Adds files to this builder.static WorkflowFileValueBuilderCreates a new builder for configuring a file value.
-
Method Details
-
build
Creates a new file value with the current state of this builder. Any modifications to this builder after calling this method will not affect the returned file value.- Returns:
- A new file value with the current state of this builder.
-
file
Adds files to this builder, using the default file type. Guesses the content type.- Parameters:
file- The files to add for the given file type.- Returns:
- This builder for chaining method calls.
-
file
Adds files to this builder, using the default file type.- Parameters:
file- The files to add for the given file type.contentType- The content type of the file.- Returns:
- This builder for chaining method calls.
-
file
Adds files to this builder. Guesses the content type.- Parameters:
key- The type of the files.file- The files to add for the given file type.- Returns:
- This builder for chaining method calls.
-
file
Adds files to this builder.- Parameters:
key- The type of the files.file- The files to add for the given file type.contentType- The content type of the file.- Returns:
- This builder for chaining method calls.
-
files
Adds files to this builder, using the default file type.- Parameters:
files- The files to add for the given file type.- Returns:
- This builder for chaining method calls.
-
files
Adds files to this builder, using the default file type.- Parameters:
files- The files to add for the given file type.- Returns:
- This builder for chaining method calls.
-
files
Adds files to this builder.- Parameters:
key- The type of the files.files- The files to add for the given file type.- Returns:
- This builder for chaining method calls.
-
files
Adds files to this builder.- Parameters:
key- The type of the files.files- The files to add for the given file type.- Returns:
- This builder for chaining method calls.
-
workflowFileValueBuilder
Creates a new builder for configuring a file value.- Returns:
- A new builder for configuring a file value.
-