Interface IFileListConfigurator<Self extends IFileListConfigurator<Self>>
-
- All Known Subinterfaces:
IFileListBuilder
public interface IFileListConfigurator<Self extends IFileListConfigurator<Self>>A configurator for a list of workflow files.- Since:
- 8.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Selffile(File file, String contentType)Adds a file to the list of files.default Selffiles(File... files)Adds files to the list of files.default Selffiles(Iterable<File> files)Adds files to the list of files.default SelffileValues(IWorkflowFile... files)Adds files to the list of files.default SelffileValues(Iterable<? extends IWorkflowFile> files)Adds files to the list of files.Selfpath(Path file, String contentType)Adds a file to the list of files.default Selfpaths(Iterable<Path> paths)Adds files to the list of files.default Selfpaths(Path... paths)Adds files to the list of files.Selfself()
-
-
-
Method Detail
-
file
default Self file(File file, String contentType)
Adds a file to the list of files.- Parameters:
file- The file to add.contentType- The content type of the file. When empty, the content type will be guessed.- Returns:
- The builder for chaining method calls.
-
fileValues
default Self fileValues(Iterable<? extends IWorkflowFile> files)
Adds files to the list of files.- Parameters:
files- The files to add.- Returns:
- The builder for chaining method calls.
-
fileValues
default Self fileValues(IWorkflowFile... files)
Adds files to the list of files.- Parameters:
files- The files to add.- Returns:
- The builder for chaining method calls.
-
files
default Self files(File... files)
Adds files to the list of files. The content type will be guessed.- Parameters:
files- The files to add.- Returns:
- The builder for chaining method calls.
-
files
default Self files(Iterable<File> files)
Adds files to the list of files. The content type will be guessed.- Parameters:
files- The files to add.- Returns:
- The builder for chaining method calls.
-
path
Self path(Path file, String contentType)
Adds a file to the list of files.- Parameters:
file- The file to add.contentType- The content type of the file. When empty, the content type will be guessed.- Returns:
- The builder for chaining method calls.
-
paths
default Self paths(Path... paths)
Adds files to the list of files. The content type will be guessed.- Parameters:
paths- The files to add.- Returns:
- The builder for chaining method calls.
-
paths
default Self paths(Iterable<Path> paths)
Adds files to the list of files. The content type will be guessed.- Parameters:
paths- The files to add.- Returns:
- The builder for chaining method calls.
-
self
Self self()
-
-