Class RuleImportCondition

  • All Implemented Interfaces:
    java.util.function.Predicate<ValueLine>

    public class RuleImportCondition
    extends java.lang.Object
    implements java.util.function.Predicate<ValueLine>
    Predicate used for 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 Detail

      • RuleImportCondition

        public RuleImportCondition()
    • Method Detail

      • test

        public boolean test​(ValueLine valueLine)
        Specified by:
        test in interface java.util.function.Predicate<ValueLine>
      • getRuleDao

        protected RuleDao getRuleDao()
      • getLookupRuleStatuses

        protected RuleStatus[] getLookupRuleStatuses()