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 forAbstractRuleModelconditional 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.ValueEntrygetCodeValueEntry(ValueLine valueLine)protected RuleStatus[]getLookupRuleStatuses()protected RuleDaogetRuleDao()booleantest(ValueLine valueLine)
-
-
-
Method Detail
-
test
public boolean test(ValueLine valueLine)
- Specified by:
testin interfacejava.util.function.Predicate<ValueLine>
-
getCodeValueEntry
protected ValueLine.ValueEntry getCodeValueEntry(ValueLine valueLine)
-
getRuleDao
protected RuleDao getRuleDao()
-
getLookupRuleStatuses
protected RuleStatus[] getLookupRuleStatuses()
-
-