Package de.xima.fc.logic.form_theme
Class FormThemeFileResolutionParams.Builder
- java.lang.Object
-
- de.xima.fc.logic.form_theme.FormThemeFileResolutionParams.Builder
-
- Enclosing class:
- FormThemeFileResolutionParams
public static final class FormThemeFileResolutionParams.Builder extends Object
A builder for creatingfile resolution params
.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormThemeFileResolutionParams
build()
Creates a newfile resolution params
instance with the current parameters.FormThemeFileResolutionParams.Builder
client(Mandant client)
Sets the client scope where to look for themes.FormThemeFileResolutionParams.Builder
fileNameFilter(Predicate<? super String> fileNameFilter)
Sets the filter for the files to include.
-
-
-
Method Detail
-
build
public FormThemeFileResolutionParams build()
Creates a newfile resolution params
instance with the current parameters. Subsequent changes to the builder do not affect the created instance.- Returns:
- A new
file resolution params
instance.
-
client
public FormThemeFileResolutionParams.Builder client(Mandant 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.
-
-