Class DefaultSourceRuleInspector
java.lang.Object
de.hybris.platform.ruleengineservices.rule.services.impl.DefaultSourceRuleInspector
- All Implemented Interfaces:
SourceRuleInspector
Default implementation of
SourceRuleInspector-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stream<RuleConditionData>collectAll(List<RuleConditionData> ruleConditionDatas) protected RuleActionsConverterprotected RuleActionsRegistryprotected RuleConditionsConverterprotected RuleConditionsRegistrybooleanhasRuleAction(SourceRuleModel sourceRule, String actionDefinitionId) Check if given action definition is present in a source rulebooleanhasRuleCondition(SourceRuleModel sourceRule, String conditionDefinitionId) Check if given condition definition is present in a source ruleprotected RuleConditionDatahead(List<RuleConditionData> list) voidsetRuleActionsConverter(RuleActionsConverter ruleActionsConverter) voidsetRuleActionsRegistry(RuleActionsRegistry ruleActionsRegistry) voidsetRuleConditionsConverter(RuleConditionsConverter ruleConditionsConverter) voidsetRuleConditionsRegistry(RuleConditionsRegistry ruleConditionsRegistry) protected List<RuleConditionData>tail(List<RuleConditionData> list)
-
Constructor Details
-
DefaultSourceRuleInspector
public DefaultSourceRuleInspector()
-
-
Method Details
-
hasRuleCondition
Description copied from interface:SourceRuleInspectorCheck if given condition definition is present in a source rule- Specified by:
hasRuleConditionin interfaceSourceRuleInspector- Returns:
- true if the condition defintion is present otherwise false
-
collectAll
-
head
-
tail
-
hasRuleAction
Description copied from interface:SourceRuleInspectorCheck if given action definition is present in a source rule- Specified by:
hasRuleActionin interfaceSourceRuleInspector- Returns:
- true if the action defintion is present otherwise false
-
getRuleConditionsConverter
-
setRuleConditionsConverter
-
getRuleActionsConverter
-
setRuleActionsConverter
-
getRuleConditionsRegistry
-
setRuleConditionsRegistry
-
getRuleActionsRegistry
-
setRuleActionsRegistry
-