Class ThemeBuilderImpl
- java.lang.Object
-
- com.flowable.platform.engine.impl.configuration.ThemeBuilderImpl
-
- All Implemented Interfaces:
ThemeBuilder
public class ThemeBuilderImpl extends Object implements ThemeBuilder
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected CommandExecutor
commandExecutor
protected String
name
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
protected Map<String,String>
options
protected String
tenantId
-
Constructor Summary
Constructors Constructor Description ThemeBuilderImpl(String name, CommandExecutor commandExecutor, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
convertToThemeOptions(Map<String,String> themeOptions)
ThemeBuilder
option(String name, String value)
Add an option for the themeTheme
save()
Save the theme.ThemeBuilder
tenantId(String tenantId)
The tenant for the teheme
-
-
-
Constructor Detail
-
ThemeBuilderImpl
public ThemeBuilderImpl(String name, CommandExecutor commandExecutor, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
tenantId
public ThemeBuilder tenantId(String tenantId)
Description copied from interface:ThemeBuilder
The tenant for the teheme- Specified by:
tenantId
in interfaceThemeBuilder
-
option
public ThemeBuilder option(String name, String value)
Description copied from interface:ThemeBuilder
Add an option for the theme- Specified by:
option
in interfaceThemeBuilder
- Parameters:
name
- the option namevalue
- the option value
-
save
public Theme save()
Description copied from interface:ThemeBuilder
Save the theme. It would either create a new one or update an existing one.- Specified by:
save
in interfaceThemeBuilder
-
-