java.lang.Object
org.qubership.integration.platform.runtime.catalog.builder.templates.helpers.BaseHelper
Direct Known Subclasses:
ChildrenHelper, MapperInterpretatorHelper, PropertyHelperSource, PropertyJsonHelper, QueryParamsHelper, UriHelper, WithPropertyHelper

public class BaseHelper extends Object
Handlebars helper, which provides methods of creating handlebars context based on provided
  • Constructor Details

    • BaseHelper

      public BaseHelper()
  • Method Details

    • getPropertyStringValue

      public String getPropertyStringValue(String propertyName, com.github.jknack.handlebars.Options options)
    • getPropertyValue

      public Object getPropertyValue(String propertyName, com.github.jknack.handlebars.Options options)
    • putCollectionAsContext

      protected com.github.jknack.handlebars.Options.Buffer putCollectionAsContext(Iterable<?> objects, com.github.jknack.handlebars.Options options) throws IOException
      Throws:
      IOException
    • putObjectAsChildContext

      protected com.github.jknack.handlebars.Options.Buffer putObjectAsChildContext(Object object, com.github.jknack.handlebars.Options options) throws IOException
      Throws:
      IOException