Uses of Class
net.sourceforge.pmd.RuleContext

Packages that use RuleContext
net.sourceforge.pmd This is the PMD programming mistake detector. 
net.sourceforge.pmd.lang.rule   
net.sourceforge.pmd.lang.rule.stat   
net.sourceforge.pmd.lang.rule.xpath   
net.sourceforge.pmd.processor   
 

Uses of RuleContext in net.sourceforge.pmd
 

Methods in net.sourceforge.pmd that return RuleContext
static RuleContext PMD.newRuleContext(String sourceCodeFilename, File sourceCodeFile)
          Creates a new rule context, initialized with a new, empty report.
 

Methods in net.sourceforge.pmd with parameters of type RuleContext
 void RuleSet.apply(List<? extends Node> acuList, RuleContext ctx)
          Executes the rules in this ruleset against each of the given nodes.
 void Rule.apply(List<? extends Node> nodes, RuleContext ctx)
          Apply this rule to the given collection of nodes, using the given context.
 void RuleChain.apply(List<Node> nodes, RuleContext ctx, Language language)
          Apply the RuleChain to the given Nodes using the given RuleContext, for those rules using the given Language.
 void RuleSets.apply(List<Node> acuList, RuleContext ctx, Language language)
          Apply all applicable rules to the compilation units.
static Report Report.createReport(RuleContext ctx, String fileName)
          Creates a new, initialized, empty report for the given file name.
 void RuleSet.end(RuleContext ctx)
          Triggers the end lifecycle event on each rule in the ruleset.
 void RuleSets.end(RuleContext ctx)
          Notify all rules of the end of processing.
 void Rule.end(RuleContext ctx)
          End processing.
static void PMD.processFiles(PMDConfiguration configuration, RuleSetFactory ruleSetFactory, Collection<File> files, RuleContext ctx, PMD.ProgressMonitor monitor)
          An entry point that would typically be used by IDEs intent on providing ongoing feedback and the ability to terminate it at will.
static void PMD.processFiles(PMDConfiguration configuration, RuleSetFactory ruleSetFactory, List<DataSource> files, RuleContext ctx, List<Renderer> renderers)
          Run PMD on a list of files using multiple threads - if more than one is available
 void SourceCodeProcessor.processSourceCode(InputStream sourceCode, RuleSets ruleSets, RuleContext ctx)
          Processes the input stream against a rule set using the given input encoding.
 void SourceCodeProcessor.processSourceCode(Reader sourceCode, RuleSets ruleSets, RuleContext ctx)
          Processes the input stream against a rule set using the given input encoding.
static Report PMD.setupReport(RuleSets rs, RuleContext ctx, String fileName)
          Create a report, filter out any defective rules, and keep a record of them.
 void RuleSet.start(RuleContext ctx)
          Triggers that start lifecycle event on each rule in this ruleset.
 void RuleSets.start(RuleContext ctx)
          Notify all rules of the start of processing.
 void Rule.start(RuleContext ctx)
          Start processing.
 

Constructors in net.sourceforge.pmd with parameters of type RuleContext
RuleContext(RuleContext ruleContext)
          Constructor which shares attributes and report listeners with the given RuleContext.
 

Uses of RuleContext in net.sourceforge.pmd.lang.rule
 

Methods in net.sourceforge.pmd.lang.rule with parameters of type RuleContext
 void AbstractRuleViolationFactory.addViolation(RuleContext ruleContext, Rule rule, Node node, String message, int beginLine, int endLine, Object[] args)
           
 void RuleViolationFactory.addViolation(RuleContext ruleContext, Rule rule, Node node, String message, int beginLine, int endLine, Object[] args)
           
 void AbstractRuleViolationFactory.addViolation(RuleContext ruleContext, Rule rule, Node node, String message, Object[] args)
           
 void RuleViolationFactory.addViolation(RuleContext ruleContext, Rule rule, Node node, String message, Object[] args)
          Adds a violation to the report.
 void MockRule.apply(List<? extends Node> nodes, RuleContext ctx)
           
 void XPathRule.apply(List<? extends Node> nodes, RuleContext ctx)
          Apply the rule to all nodes.
 void AbstractDelegateRule.apply(List<? extends Node> nodes, RuleContext ctx)
           
protected abstract  RuleViolation AbstractRuleViolationFactory.createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message)
           
protected abstract  RuleViolation AbstractRuleViolationFactory.createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message, int beginLine, int endLine)
           
 void AbstractDelegateRule.end(RuleContext ctx)
           
 void AbstractRule.end(RuleContext ctx)
           
 void XPathRule.evaluate(Node node, RuleContext data)
          Evaluate the XPath query with the AST node.
protected abstract  void AbstractRuleChainVisitor.indexNodes(List<Node> nodes, RuleContext ctx)
          Index all nodes for visitation by rules.
 void AbstractDelegateRule.start(RuleContext ctx)
           
 void AbstractRule.start(RuleContext ctx)
           
protected abstract  void AbstractRuleChainVisitor.visit(Rule rule, Node node, RuleContext ctx)
          Visit the given rule to the given node.
 void AbstractRuleChainVisitor.visitAll(List<Node> nodes, RuleContext ctx)
           
 void RuleChainVisitor.visitAll(List<Node> nodes, RuleContext ctx)
          Visit all the given Nodes provided using the given RuleContext.
 

Constructors in net.sourceforge.pmd.lang.rule with parameters of type RuleContext
ParametricRuleViolation(Rule theRule, RuleContext ctx, T node, String message)
           
 

Uses of RuleContext in net.sourceforge.pmd.lang.rule.stat
 

Methods in net.sourceforge.pmd.lang.rule.stat with parameters of type RuleContext
 void StatisticalRuleHelper.apply(RuleContext ctx)
           
 

Uses of RuleContext in net.sourceforge.pmd.lang.rule.xpath
 

Methods in net.sourceforge.pmd.lang.rule.xpath with parameters of type RuleContext
 List<Node> SaxonXPathRuleQuery.evaluate(Node node, RuleContext data)
          Evaluate the XPath query against the given Node.
 List<Node> JaxenXPathRuleQuery.evaluate(Node node, RuleContext data)
          Evaluate the XPath query against the given Node.
 List<Node> XPathRuleQuery.evaluate(Node node, RuleContext data)
          Evaluate the XPath query against the given Node.
abstract  List<Node> AbstractXPathRuleQuery.evaluate(Node node, RuleContext data)
          Evaluate the XPath query against the given Node.
 

Uses of RuleContext in net.sourceforge.pmd.processor
 

Methods in net.sourceforge.pmd.processor with parameters of type RuleContext
static Thread PmdRunnable.createThread(int id, Runnable r, RuleSetFactory ruleSetFactory, RuleContext ctx)
           
 void MonoThreadProcessor.processFiles(RuleSetFactory ruleSetFactory, List<DataSource> files, RuleContext ctx, List<Renderer> renderers)
           
 void MultiThreadProcessor.processFiles(RuleSetFactory ruleSetFactory, List<DataSource> files, RuleContext ctx, List<Renderer> renderers)
          Run PMD on a list of files using multiple threads.
 

Constructors in net.sourceforge.pmd.processor with parameters of type RuleContext
PmdThreadFactory(RuleSetFactory ruleSetFactory, RuleContext ctx)
           
 



Copyright © 2002-2015 InfoEther. All Rights Reserved.