net.sourceforge.pmd.stat
Class MockStatisticalRule

java.lang.Object
  extended by AbstractRule
      extended by net.sourceforge.pmd.FooRule
          extended by net.sourceforge.pmd.stat.MockStatisticalRule

public class MockStatisticalRule
extends FooRule


Constructor Summary
MockStatisticalRule()
           
 
Method Summary
 void addDataPoint(DataPoint point)
           
 void apply(List<? extends Node> nodes, RuleContext ctx)
           
 String getName()
           
 Object[] getViolationParameters(DataPoint point)
           
 
Methods inherited from class net.sourceforge.pmd.FooRule
getDescription, getMessage, getRuleSetName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockStatisticalRule

public MockStatisticalRule()
Method Detail

getName

public String getName()
Overrides:
getName in class FooRule

apply

public void apply(List<? extends Node> nodes,
                  RuleContext ctx)
Overrides:
apply in class FooRule

addDataPoint

public void addDataPoint(DataPoint point)

getViolationParameters

public Object[] getViolationParameters(DataPoint point)


Copyright © 2002–2015 InfoEther. All rights reserved.