Class RuleLoader


  • @Component
    public class RuleLoader
    extends Object
    • Constructor Detail

      • RuleLoader

        public RuleLoader()
    • Method Detail

      • loadEnabled

        public String loadEnabled​(String sourceName)
        Loads from the source, where the source is enabled, all rules that are themselves enabled.
        Parameters:
        sourceName - the source to load from
        Returns:
        a formatted string containing the enabled rules.
      • loadDisabled

        public String loadDisabled​(String sourceName)
        Loads from the source, where either the source is disabled or the rule is itself disabled.
        Parameters:
        sourceName - the source to load from
        Returns:
        a formatted string containing the disabled rules.