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 Self
file(File file, String contentType)
Adds a file to the list of files.default Self
files(File... files)
Adds files to the list of files.default Self
files(Iterable<File> files)
Adds files to the list of files.default Self
fileValues(IWorkflowFile... files)
Adds files to the list of files.default Self
fileValues(Iterable<? extends IWorkflowFile> files)
Adds files to the list of files.Self
path(Path file, String contentType)
Adds a file to the list of files.default Self
paths(Iterable<Path> paths)
Adds files to the list of files.default Self
paths(Path... paths)
Adds files to the list of files.Self
self()
-
-
-
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()
-
-