Interface RulesProperties

  • All Known Implementing Classes:
    RulesPropertiesImpl

    public interface RulesProperties
    A service used to retrieve the default global rules that have been set via registry.rules.global configuration properties. E.g.: %prod.registry.rules.global.compatibility=BACKWARDS %prod.registry.rules.global.validity=FULL
    • Method Detail

      • getFilteredDefaultGlobalRules

        List<RuleType> getFilteredDefaultGlobalRules​(List<RuleType> excludeRulesFilter)
        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.
        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

        boolean isDefaultGlobalRuleConfigured​(RuleType ruleType)
        Whether the supplied RuleType has been configured as a global rule.
        Returns:
        true if the a default global rule has been configured for the supplied RuleType, false otherwise.
      • getDefaultGlobalRuleConfiguration

        RuleConfigurationDto getDefaultGlobalRuleConfiguration​(RuleType ruleType)
        Get the default global RuleConfigurationDto for the supplied RuleType.
        Returns:
        The default global RuleConfigurationDto for the supplied RuleType or null if the RuleType has not been configured.