Class FxCopRuleSet
- java.lang.Object
-
- edu.hm.hafner.analysis.parser.fxcop.FxCopRuleSet
-
public class FxCopRuleSet extends Object
Internal set containing rules for FxCop.- Author:
- Erik Ramfelt
-
-
Constructor Summary
Constructors Constructor Description FxCopRuleSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRule(Element element)Parse the element and insert the rule into the rule set.booleancontains(String category, String checkId)Returns if the rule set contains a rule for the specified category and idFxCopRulegetRule(String category, String checkId)Returns the specified rule if it exists
-
-
-
Method Detail
-
addRule
public void addRule(Element element)
Parse the element and insert the rule into the rule set.- Parameters:
element- the element
-
contains
public boolean contains(String category, String checkId)
Returns if the rule set contains a rule for the specified category and id- Parameters:
category- the rule categorycheckId- the rule id- Returns:
trueif the rule set contains a rule for the specified category and id,falseotherwise
-
-