Class PropertyHelperSource
java.lang.Object
org.qubership.integration.platform.runtime.catalog.builder.templates.helpers.BaseHelper
org.qubership.integration.platform.runtime.catalog.builder.templates.helpers.PropertyHelperSource
- Direct Known Subclasses:
IfPropertyHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod, that wraps String value of input argument into CDATA section and returns final value.Method, that replaces special chars in input String value with html entities.Method is used to receive ChainElement's property with namepropertyNameand get it's String value.subProperty(String firstProperty, String targetProperty, com.github.jknack.handlebars.Options options) Method is used to receive ChainElement's sub property with nametargetPropertyfrom map with name firstProperty and get it's String value.Methods inherited from class org.qubership.integration.platform.runtime.catalog.builder.templates.helpers.BaseHelper
getPropertyStringValue, getPropertyValue, putCollectionAsContext, putObjectAsChildContext
-
Constructor Details
-
PropertyHelperSource
public PropertyHelperSource()
-
-
Method Details
-
subProperty
public CharSequence subProperty(String firstProperty, String targetProperty, com.github.jknack.handlebars.Options options) Method is used to receive ChainElement's sub property with nametargetPropertyfrom map with name firstProperty and get it's String value.- Parameters:
firstProperty- Name of source propertytargetProperty- Name of property, that must be extracted.options- Object, which contains handlebars information.- Returns:
- Property string value
-
property
Method is used to receive ChainElement's property with namepropertyNameand get it's String value.- Parameters:
propertyName- Name of property, that must be extracted.options- Object, which contains handlebars information.- Returns:
- Property string value
-
cdata
Method, that wraps String value of input argument into CDATA section and returns final value. -
escape
Method, that replaces special chars in input String value with html entities.
-