Class RuleImportCondition
- java.lang.Object
-
- de.hybris.platform.ruleengineservices.impex.impl.RuleImportCondition
-
- All Implemented Interfaces:
java.util.function.Predicate<ValueLine>
public class RuleImportCondition extends java.lang.Object implements java.util.function.Predicate<ValueLine>
Predicate used forAbstractRuleModel
conditional impex import process. Relies on existence of 'code' column value. Decision is based on the existence of rules with the same code that have status other thanRuleStatus.UNPUBLISHED
-
-
Constructor Summary
Constructors Constructor Description RuleImportCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ValueLine.ValueEntry
getCodeValueEntry(ValueLine valueLine)
protected RuleStatus[]
getLookupRuleStatuses()
protected RuleDao
getRuleDao()
boolean
test(ValueLine valueLine)
-
-
-
Method Detail
-
test
public boolean test(ValueLine valueLine)
- Specified by:
test
in interfacejava.util.function.Predicate<ValueLine>
-
getCodeValueEntry
protected ValueLine.ValueEntry getCodeValueEntry(ValueLine valueLine)
-
getRuleDao
protected RuleDao getRuleDao()
-
getLookupRuleStatuses
protected RuleStatus[] getLookupRuleStatuses()
-
-