Class DefaultRuleParameterValueMapperStrategy
java.lang.Object
de.hybris.platform.ruleengineservices.rule.strategies.impl.DefaultRuleParameterValueMapperStrategy
- All Implemented Interfaces:
RuleParameterValueMapperStrategy,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class DefaultRuleParameterValueMapperStrategy
extends Object
implements RuleParameterValueMapperStrategy, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfromRuleParameter(Object value, String type) protected org.springframework.context.ApplicationContextprotected Map<String,RuleParameterValueMapper> voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetSupportedTypes(Set<String> supportedTypes) toRuleParameter(Object value, String type)
-
Field Details
-
LIST_PATTERN
-
MAP_PATTERN
-
-
Constructor Details
-
DefaultRuleParameterValueMapperStrategy
public DefaultRuleParameterValueMapperStrategy()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
toRuleParameter
- Specified by:
toRuleParameterin interfaceRuleParameterValueMapperStrategy
-
getAsMap
-
getAsList
-
fromRuleParameter
- Specified by:
fromRuleParameterin interfaceRuleParameterValueMapperStrategy
-
getSupportedTypes
-
setSupportedTypes
-
getApplicationContext
protected org.springframework.context.ApplicationContext getApplicationContext() -
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
getMappers
-