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 CommandExecutorcommandExecutorprotected Stringnameprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapperprotected Map<String,String>optionsprotected StringtenantId
-
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 StringconvertToThemeOptions(Map<String,String> themeOptions)ThemeBuilderoption(String name, String value)Add an option for the themeThemesave()Save the theme.ThemeBuildertenantId(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:ThemeBuilderThe tenant for the teheme- Specified by:
tenantIdin interfaceThemeBuilder
-
option
public ThemeBuilder option(String name, String value)
Description copied from interface:ThemeBuilderAdd an option for the theme- Specified by:
optionin interfaceThemeBuilder- Parameters:
name- the option namevalue- the option value
-
save
public Theme save()
Description copied from interface:ThemeBuilderSave the theme. It would either create a new one or update an existing one.- Specified by:
savein interfaceThemeBuilder
-
-