public class RuleImportCondition extends java.lang.Object implements java.util.function.Predicate<ValueLine>
AbstractRuleModel 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 than RuleStatus.UNPUBLISHED| Constructor and Description |
|---|
RuleImportCondition() |
| Modifier and Type | Method and Description |
|---|---|
protected ValueLine.ValueEntry |
getCodeValueEntry(ValueLine valueLine) |
protected RuleStatus[] |
getLookupRuleStatuses() |
protected RuleDao |
getRuleDao() |
boolean |
test(ValueLine valueLine) |
public boolean test(ValueLine valueLine)
test in interface java.util.function.Predicate<ValueLine>protected ValueLine.ValueEntry getCodeValueEntry(ValueLine valueLine)
protected RuleDao getRuleDao()
protected RuleStatus[] getLookupRuleStatuses()
Copyright © 2018 SAP SE. All Rights Reserved.