Class ThemeBuilderImpl
java.lang.Object
com.flowable.platform.engine.impl.configuration.ThemeBuilderImpl
- All Implemented Interfaces:
ThemeBuilder
public class ThemeBuilderImpl extends java.lang.Object implements ThemeBuilder
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected ConfigurationServiceconfigurationServiceprotected java.lang.Stringnameprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapperprotected java.util.Map<java.lang.String,java.lang.String>optionsprotected java.lang.StringtenantId -
Constructor Summary
Constructors Constructor Description ThemeBuilderImpl(java.lang.String name, ConfigurationService configurationService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and Type Method Description protected java.lang.StringconvertToThemeOptions(java.util.Map<java.lang.String,java.lang.String> themeOptions)ThemeBuilderoption(java.lang.String name, java.lang.String value)Add an option for the themeThemesave()Save the theme.ThemeBuildertenantId(java.lang.String tenantId)The tenant for the teheme
-
Field Details
-
configurationService
-
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper -
name
protected java.lang.String name -
tenantId
protected java.lang.String tenantId -
options
protected java.util.Map<java.lang.String,java.lang.String> options
-
-
Constructor Details
-
ThemeBuilderImpl
public ThemeBuilderImpl(java.lang.String name, ConfigurationService configurationService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
tenantId
Description copied from interface:ThemeBuilderThe tenant for the teheme- Specified by:
tenantIdin interfaceThemeBuilder
-
option
Description copied from interface:ThemeBuilderAdd an option for the theme- Specified by:
optionin interfaceThemeBuilder- Parameters:
name- the option namevalue- the option value
-
save
Description copied from interface:ThemeBuilderSave the theme. It would either create a new one or update an existing one.- Specified by:
savein interfaceThemeBuilder
-
convertToThemeOptions
protected java.lang.String convertToThemeOptions(java.util.Map<java.lang.String,java.lang.String> themeOptions)
-