Class DefaultRuleTypeMappingStrategy
- java.lang.Object
-
- de.hybris.platform.ruleengineservices.rule.strategies.impl.DefaultRuleTypeMappingStrategy
-
- All Implemented Interfaces:
RuleTypeMappingStrategy
public class DefaultRuleTypeMappingStrategy extends java.lang.Object implements RuleTypeMappingStrategy
-
-
Constructor Summary
Constructors Constructor Description DefaultRuleTypeMappingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends AbstractRuleModel>findRuleType(java.lang.Class<? extends AbstractRuleTemplateModel> templateType)Finds and returns rule type model class based on the template type.TypeServicegetTypeService()voidsetTypeService(TypeService typeService)
-
-
-
Method Detail
-
findRuleType
public java.lang.Class<? extends AbstractRuleModel> findRuleType(java.lang.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
public TypeService getTypeService()
-
setTypeService
public void setTypeService(TypeService typeService)
-
-