Class SourceRuleParameterValueMapper
java.lang.Object
de.hybris.platform.ruleengineservices.rule.strategies.impl.mappers.SourceRuleParameterValueMapper
- All Implemented Interfaces:
RuleParameterValueMapper<AbstractRuleModel>
public class SourceRuleParameterValueMapper
extends Object
implements RuleParameterValueMapper<AbstractRuleModel>
Performs mapping between AbstractRuleModel and a String representation of it instance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String code) Maps the String representation to the specific object.protected RuleServicevoidsetRuleService(RuleService ruleService) toString(AbstractRuleModel sourceRule) Maps the object to its String representation.
-
Constructor Details
-
SourceRuleParameterValueMapper
public SourceRuleParameterValueMapper()
-
-
Method Details
-
fromString
Description copied from interface:RuleParameterValueMapperMaps the String representation to the specific object.- Specified by:
fromStringin interfaceRuleParameterValueMapper<AbstractRuleModel>- Parameters:
code- - String representation- Returns:
- mapped object
-
toString
Description copied from interface:RuleParameterValueMapperMaps the object to its String representation.- Specified by:
toStringin interfaceRuleParameterValueMapper<AbstractRuleModel>- Parameters:
sourceRule- - object to map- Returns:
- String representation
-
getRuleService
-
setRuleService
-