Class RetrieveApiKey

java.lang.Object
io.kroxylicious.krpccodegen.model.RetrieveApiKey
All Implemented Interfaces:
freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel

public class RetrieveApiKey extends Object implements freemarker.template.TemplateMethodModelEx
A custom FreeMarker function which obtains the API key (as an enum name) from a message spec, e.g. "CREATE_TOPICS".
  • Constructor Details

    • RetrieveApiKey

      public RetrieveApiKey()
      Constructs a RetrieveApiKey.
  • Method Details

    • exec

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