Class DefaultPluginFormThemeRetVal.Builder
- java.lang.Object
-
- de.xima.fc.plugin.models.retval.form.DefaultPluginFormThemeRetVal.Builder
-
- Enclosing class:
- DefaultPluginFormThemeRetVal
public static final class DefaultPluginFormThemeRetVal.Builder extends Object
Simple builder for aDefaultPluginFormThemeRetVal
.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultPluginFormThemeRetVal
build()
Builds a newDefaultPluginFormThemeRetVal
with the current configuration.DefaultPluginFormThemeRetVal.Builder
themesById(Map<String,IFormTheme> themesById)
Sets the map with the themes the plugin can provide, indexed by their ID.
-
-
-
Method Detail
-
build
public DefaultPluginFormThemeRetVal build()
Builds a newDefaultPluginFormThemeRetVal
with the current configuration. Subsequent changes to this builder will not affect the returned object.- Returns:
- A new
DefaultPluginFormThemeRetVal
.
-
themesById
public DefaultPluginFormThemeRetVal.Builder themesById(Map<String,IFormTheme> themesById)
Sets the map with the themes the plugin can provide, indexed by their ID.- Parameters:
themesById
- The map with the themes the plugin can provide, indexed by their ID.- Returns:
- This builder for chaining method calls.
-
-