public class DefaultRuleParameterValueMapperStrategy extends Object implements RuleParameterValueMapperStrategy
| Modifier and Type | Field and Description |
|---|---|
protected static Pattern |
LIST_PATTERN |
protected static Pattern |
MAP_PATTERN |
| Constructor and Description |
|---|
DefaultRuleParameterValueMapperStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Object |
fromRuleParameter(Object value,
String type) |
ApplicationContext |
getApplicationContext() |
protected Map<String,RuleParameterValueMapper> |
getMappers() |
Set<String> |
getSupportedTypes() |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setSupportedTypes(Set<String> supportedTypes) |
Object |
toRuleParameter(Object value,
String type) |
protected static final Pattern LIST_PATTERN
protected static final Pattern MAP_PATTERN
public DefaultRuleParameterValueMapperStrategy()
public ApplicationContext getApplicationContext()
public void setApplicationContext(ApplicationContext applicationContext)
protected Map<String,RuleParameterValueMapper> getMappers()
public void afterPropertiesSet()
public Object toRuleParameter(Object value, String type) throws RuleParameterValueMapperException
toRuleParameter in interface RuleParameterValueMapperStrategyRuleParameterValueMapperExceptionpublic Object fromRuleParameter(Object value, String type) throws RuleParameterValueMapperException
fromRuleParameter in interface RuleParameterValueMapperStrategyRuleParameterValueMapperExceptionCopyright © 2017 SAP SE. All Rights Reserved.