Class ApplicationConfig

java.lang.Object
org.emau.icmvc.ganimed.ttp.cm2.config.ApplicationConfig
All Implemented Interfaces:
Serializable

public class ApplicationConfig extends Object implements Serializable
See Also:
  • Constructor Details

    • ApplicationConfig

      public ApplicationConfig()
      Empty constructor for deserialization.
    • ApplicationConfig

      public ApplicationConfig(ApplicationConfig config)
      Copy constructor.
    • ApplicationConfig

      public ApplicationConfig(boolean enableChromePdfExport, String chromedriverPath, Set<ConsentTemplateType> templateTypes, String embeddedCss, String internalWebUrl)
      All fields constructor.
  • Method Details

    • capture

      public void capture(ApplicationConfig config)
    • containsTemplateType

      public boolean containsTemplateType(String type)
    • isEnableChromePdfExport

      public boolean isEnableChromePdfExport()
    • setEnableChromePdfExport

      public void setEnableChromePdfExport(boolean enableChromePdfExport)
    • getChromedriverPath

      public String getChromedriverPath()
    • setChromedriverPath

      public void setChromedriverPath(String chromedriverPath)
    • getInternalWebUrl

      public String getInternalWebUrl()
    • setInternalWebUrl

      public void setInternalWebUrl(String internalWebUrl)
    • getTemplateTypes

      public Set<ConsentTemplateType> getTemplateTypes()
    • setTemplateTypes

      public void setTemplateTypes(Set<ConsentTemplateType> templateTypes)
    • getEmbeddedCss

      public String getEmbeddedCss()
    • setEmbeddedCss

      public void setEmbeddedCss(String embeddedCss)
    • updateUnlockedParts

      public boolean updateUnlockedParts(ApplicationConfig config)
      Updates the send-from-web from the given config.
      Parameters:
      config - the config to update from
      Returns:
      true if the config changed on update
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object