Package de.xima.fc.logic.form_theme
Class FormThemeFileResolutionParams
- java.lang.Object
 - 
- de.xima.fc.logic.form_theme.FormThemeFileResolutionParams
 
 
- 
public final class FormThemeFileResolutionParams extends Object
Parameters for resolving a file from a form theme, seeFormThemeManager.- Since:
 - 8.3.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFormThemeFileResolutionParams.BuilderA builder for creatingfile resolution params. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FormThemeFileResolutionParams.Builderbuilder(String resourceContext)Creates a new builder forfile resolution params.Mandantclient()Gets the client scope where to look for themes.Predicate<? super String>fileNameFilter()Gets the filter for the files to include.StringresourceContext()The resource context in which the file is used. 
 - 
 
- 
- 
Method Detail
- 
client
public Mandant client()
Gets the client scope where to look for themes. Required only if the theme is specific to a particular client.- Returns:
 - Client scope where to look for themes.
 
 
- 
fileNameFilter
public Predicate<? super String> fileNameFilter()
Gets the filter for the files to include.- Returns:
 - The filter for the files to include.
 
 
- 
resourceContext
public String resourceContext()
The resource context in which the file is used. SeeEFormThemeResourceContextfor well-known contexts.- Returns:
 - The resource context from which to obtain the files.
 
 
- 
builder
public static FormThemeFileResolutionParams.Builder builder(String resourceContext)
Creates a new builder forfile resolution params. The resource context is required and must not be empty.- Parameters:
 resourceContext- The resource context in which the file is used. SeeEFormThemeResourceContextfor well-known contexts.- Returns:
 - A new builder for creating a 
FormThemeFileResolutionParamsinstance. 
 
 - 
 
 -