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 SummaryFields 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 SummaryConstructors Constructor Description ThemeBuilderImpl(java.lang.String name, ConfigurationService configurationService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
- 
Method SummaryModifier 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
- 
objectMapperprotected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
- 
nameprotected java.lang.String name
- 
tenantIdprotected java.lang.String tenantId
- 
optionsprotected java.util.Map<java.lang.String,java.lang.String> options
 
- 
- 
Constructor Details- 
ThemeBuilderImplpublic ThemeBuilderImpl(java.lang.String name, ConfigurationService configurationService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
 
- 
- 
Method Details- 
tenantIdDescription copied from interface:ThemeBuilderThe tenant for the teheme- Specified by:
- tenantIdin interface- ThemeBuilder
 
- 
optionDescription copied from interface:ThemeBuilderAdd an option for the theme- Specified by:
- optionin interface- ThemeBuilder
- Parameters:
- name- the option name
- value- the option value
 
- 
saveDescription copied from interface:ThemeBuilderSave the theme. It would either create a new one or update an existing one.- Specified by:
- savein interface- ThemeBuilder
 
- 
convertToThemeOptionsprotected java.lang.String convertToThemeOptions(java.util.Map<java.lang.String,java.lang.String> themeOptions)
 
-