java.lang.Object
org.qubership.integration.platform.runtime.catalog.builder.templates.helpers.BaseHelper
org.qubership.integration.platform.runtime.catalog.builder.templates.helpers.WithPropertyHelper
All Implemented Interfaces:
com.github.jknack.handlebars.Helper<String>

public class WithPropertyHelper extends BaseHelper implements com.github.jknack.handlebars.Helper<String>
Helper which receives property with provided name and put it as handlebars context.
  • Constructor Details

    • WithPropertyHelper

      public WithPropertyHelper()
  • Method Details

    • apply

      public Object apply(String propertyName, com.github.jknack.handlebars.Options options) throws IOException
      Specified by:
      apply in interface com.github.jknack.handlebars.Helper<String>
      Throws:
      IOException