Class IfPropertyHelper
java.lang.Object
org.qubership.integration.platform.runtime.catalog.builder.templates.helpers.BaseHelper
org.qubership.integration.platform.runtime.catalog.builder.templates.helpers.PropertyHelperSource
org.qubership.integration.platform.runtime.catalog.builder.templates.helpers.IfPropertyHelper
- All Implemented Interfaces:
com.github.jknack.handlebars.Helper<String>
public class IfPropertyHelper
extends PropertyHelperSource
implements com.github.jknack.handlebars.Helper<String>
Handlebars helper, which checks, whether an element property
with provided name equals, contain provided value or not
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.qubership.integration.platform.runtime.catalog.builder.templates.helpers.PropertyHelperSource
cdata, escape, property, subPropertyMethods inherited from class org.qubership.integration.platform.runtime.catalog.builder.templates.helpers.BaseHelper
getPropertyStringValue, getPropertyValue, putCollectionAsContext, putObjectAsChildContext
-
Constructor Details
-
IfPropertyHelper
public IfPropertyHelper()
-
-
Method Details
-
apply
public Object apply(String propertyName, com.github.jknack.handlebars.Options options) throws IOException - Specified by:
applyin interfacecom.github.jknack.handlebars.Helper<String>- Throws:
IOException
-