Package cdc.issues.rules
Interface Profile
-
- All Known Implementing Classes:
DefaultProfile
public interface ProfileInterface describing a Profile.- Author:
- Damien Carbonne
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<Rule>getEnabledRules()StringgetName()ParamsgetRuleParams(Rule rule)Returns the parameters to use for a rule.
-
-
-
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
rulein this profile. - Throws:
IllegalArgumentException- Whenruleisnull.
-
-