Add a whole RuleSet to this RuleSet
Parameters: ruleSet - the RuleSet to add
addRuleSetByReference
public void addRuleSetByReference(RuleSet ruleSet, boolean allRules)(Code)
Add all rules by reference from one RuleSet to this RuleSet. The rules
can be added as individual references, or collectively as an all rule
reference.
Parameters: ruleSet - the RuleSet to add Parameters: allRules -
Check if a given source file should be checked by rules in this RuleSet. A file
should not be checked if there is an exclude pattern which matches
the file, unless there is an include pattern which also matches
the file. In other words, include patterns override exclude
patterns.
Parameters: file - the source file to check true if the file should be checked, false otherwise