Interface Profile

  • All Known Implementing Classes:
    DefaultProfile

    public interface Profile
    Interface describing a Profile.
    Author:
    Damien Carbonne
    • Method Detail

      • getName

        String getName()
        Returns:
        The profile name.
      • getEnabledRules

        Set<Rule> getEnabledRules()
        Returns:
        The set of rules that are enabled in this profile.
      • getRuleParams

        Params getRuleParams​(Rule rule)
        Returns the parameters to use for a rule.
        Parameters:
        rule - The rule.
        Returns:
        The parameters that are used to configure rule in this profile.
        Throws:
        IllegalArgumentException - When rule is null.