Class DefaultRuleTypeMappingStrategy
java.lang.Object
de.hybris.platform.ruleengineservices.rule.strategies.impl.DefaultRuleTypeMappingStrategy
- All Implemented Interfaces:
RuleTypeMappingStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends AbstractRuleModel>findRuleType(Class<? extends AbstractRuleTemplateModel> templateType) Finds and returns rule type model class based on the template type.voidsetTypeService(TypeService typeService)
-
Constructor Details
-
DefaultRuleTypeMappingStrategy
public DefaultRuleTypeMappingStrategy()
-
-
Method Details
-
findRuleType
public Class<? extends AbstractRuleModel> findRuleType(Class<? extends AbstractRuleTemplateModel> templateType) Description copied from interface:RuleTypeMappingStrategyFinds and returns rule type model class based on the template type.- Specified by:
findRuleTypein interfaceRuleTypeMappingStrategy- Parameters:
templateType- - template type- Returns:
- the rule type
-
getTypeService
-
setTypeService
-