public class RulesPropertiesImpl extends Object implements RulesProperties
Constructor and Description |
---|
RulesPropertiesImpl(Properties properties) |
Modifier and Type | Method and Description |
---|---|
RuleConfigurationDto |
getDefaultGlobalRuleConfiguration(RuleType ruleType)
Get the default global RuleConfigurationDto for the supplied RuleType.
|
List<RuleType> |
getFilteredDefaultGlobalRules(List<RuleType> excludeRulesFilter)
Get the list of configured default global RuleType enums.
|
boolean |
isDefaultGlobalRuleConfigured(RuleType ruleType)
Whether the supplied RuleType has been configured as a global rule.
|
public RulesPropertiesImpl(Properties properties)
public List<RuleType> getFilteredDefaultGlobalRules(List<RuleType> excludeRulesFilter)
RulesProperties
getFilteredDefaultGlobalRules
in interface RulesProperties
excludeRulesFilter
- a list of RuleType enums to filter from the returned list. If null, the entire
configured list of default global RuleTypes is returned.public boolean isDefaultGlobalRuleConfigured(RuleType ruleType)
RulesProperties
isDefaultGlobalRuleConfigured
in interface RulesProperties
public RuleConfigurationDto getDefaultGlobalRuleConfiguration(RuleType ruleType)
RulesProperties
getDefaultGlobalRuleConfiguration
in interface RulesProperties
Copyright © 2020 Red Hat. All rights reserved.