Class FxCopRuleSet
java.lang.Object
edu.hm.hafner.analysis.parser.fxcop.FxCopRuleSet
Internal set containing rules for FxCop.
- Author:
- Erik Ramfelt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidParse the element and insert the rule into the rule set.booleanReturns if the rule set contains a rule for the specified category and idReturns the specified rule if it exists
-
Constructor Details
-
FxCopRuleSet
public FxCopRuleSet()
-
-
Method Details
-
addRule
Parse the element and insert the rule into the rule set.- Parameters:
element- the element
-
contains
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
-
getRule
Returns the specified rule if it exists- Parameters:
category- the rule categorycheckId- the id of the rule- Returns:
- the rule; null otherwise
-