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 ConfigurationService configurationService  
    protected java.lang.String name  
    protected com.fasterxml.jackson.databind.ObjectMapper objectMapper  
    protected java.util.Map<java.lang.String,​java.lang.String> options  
    protected java.lang.String tenantId  
  • 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.String convertToThemeOptions​(java.util.Map<java.lang.String,​java.lang.String> themeOptions)  
    ThemeBuilder option​(java.lang.String name, java.lang.String value)
    Add an option for the theme
    Theme save()
    Save the theme.
    ThemeBuilder tenantId​(java.lang.String tenantId)
    The tenant for the teheme

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • tenantId

      public ThemeBuilder tenantId​(java.lang.String tenantId)
      Description copied from interface: ThemeBuilder
      The tenant for the teheme
      Specified by:
      tenantId in interface ThemeBuilder
    • option

      public ThemeBuilder option​(java.lang.String name, java.lang.String value)
      Description copied from interface: ThemeBuilder
      Add an option for the theme
      Specified by:
      option in interface ThemeBuilder
      Parameters:
      name - the option name
      value - 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 interface ThemeBuilder
    • convertToThemeOptions

      protected java.lang.String convertToThemeOptions​(java.util.Map<java.lang.String,​java.lang.String> themeOptions)