Class RulesPropertiesImpl

    • Constructor Detail

      • RulesPropertiesImpl

        public RulesPropertiesImpl​(Properties properties)
    • Method Detail

      • getFilteredDefaultGlobalRules

        public List<RuleType> getFilteredDefaultGlobalRules​(List<RuleType> excludeRulesFilter)
        Description copied from interface: RulesProperties
        Get the list of configured default global RuleType enums. A list of RuleType enums can be supplied that will be filtered out of the returned list.
        Specified by:
        getFilteredDefaultGlobalRules in interface RulesProperties
        Parameters:
        excludeRulesFilter - a list of RuleType enums to filter from the returned list. If null, the entire configured list of default global RuleTypes is returned.
        Returns:
        The list of configured default global RuleTypes with any matching the excludeRules list removed.
      • isDefaultGlobalRuleConfigured

        public boolean isDefaultGlobalRuleConfigured​(RuleType ruleType)
        Description copied from interface: RulesProperties
        Whether the supplied RuleType has been configured as a global rule.
        Specified by:
        isDefaultGlobalRuleConfigured in interface RulesProperties
        Returns:
        true if the a default global rule has been configured for the supplied RuleType, false otherwise.