Class FormThemeFileResolutionParams.Builder
java.lang.Object
de.xima.fc.logic.form_theme.FormThemeFileResolutionParams.Builder
- Enclosing class:
FormThemeFileResolutionParams
A builder for creating
file resolution params.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a newfile resolution paramsinstance with the current parameters.Sets the client scope where to look for themes.fileNameFilter(Predicate<? super String> fileNameFilter) Sets the filter for the files to include.
-
Method Details
-
build
Creates a newfile resolution paramsinstance with the current parameters. Subsequent changes to the builder do not affect the created instance.- Returns:
- A new
file resolution paramsinstance.
-
client
Sets the client scope where to look for themes. Required only if the theme is specific to a particular client.- Parameters:
client- Client scope where to look for themes.- Returns:
- This builder for chaining method calls.
-
fileNameFilter
public FormThemeFileResolutionParams.Builder fileNameFilter(Predicate<? super String> fileNameFilter) Sets the filter for the files to include. Optional, when not given, all files are included.- Parameters:
fileNameFilter- The filter for the files to include.- Returns:
- This builder for chaining method calls.
-