hudson.plugins.violations.types.fxcop
Class FxCopRuleSet

java.lang.Object
  extended by hudson.plugins.violations.types.fxcop.FxCopRuleSet

public class FxCopRuleSet
extends java.lang.Object

Internal set containing rules for FxCop

Author:
Erik Ramfelt

Constructor Summary
FxCopRuleSet()
           
 
Method Summary
 void addRule(org.w3c.dom.Element element)
          Parse the element and insert the rule into the rule set.
 boolean contains(java.lang.String category, java.lang.String checkId)
          Returns if the rule set contains a rule for the specified category and id
 FxCopRule getRule(java.lang.String category, java.lang.String checkId)
          Returns the specified rule if it exists
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FxCopRuleSet

public FxCopRuleSet()
Method Detail

addRule

public void addRule(org.w3c.dom.Element element)
Parse the element and insert the rule into the rule set.

Parameters:
element - the element

contains

public boolean contains(java.lang.String category,
                        java.lang.String checkId)
Returns if the rule set contains a rule for the specified category and id

Parameters:
category - the rule category
checkId - the rule id
Returns:

getRule

public FxCopRule getRule(java.lang.String category,
                         java.lang.String checkId)
Returns the specified rule if it exists

Parameters:
category - the rule category
checkId - the id of the rule
Returns:
the rule; null otherwise


Copyright © 2004-2012. All Rights Reserved.