Class BrevoSynchronisationDisabledMethod

java.lang.Object
ch.tocco.nice2.optional.newsletterbrevo.impl.freemarker.BrevoSynchronisationDisabledMethod
All Implemented Interfaces:
freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel

public class BrevoSynchronisationDisabledMethod extends Object implements freemarker.template.TemplateMethodModelEx
Tells whether requests to Brevo are stubbed on this installation (non-production with nice2.brevo.disableTestSync enabled), so the UI can warn that nothing is synchronised.
  • Constructor Details

    • BrevoSynchronisationDisabledMethod

      public BrevoSynchronisationDisabledMethod(BrevoSynchronisationService brevoSynchronisationService)
  • Method Details

    • exec

      public Object exec(List arguments)
      Specified by:
      exec in interface freemarker.template.TemplateMethodModel
      Specified by:
      exec in interface freemarker.template.TemplateMethodModelEx