org.sonar.plugins.core.sensors
Class WeightedViolationsDecorator

java.lang.Object
  extended by org.sonar.plugins.core.sensors.WeightedViolationsDecorator
All Implemented Interfaces:
CheckProject, Decorator, BatchComponent, BatchExtension, Extension

public class WeightedViolationsDecorator
extends Object
implements Decorator


Constructor Summary
WeightedViolationsDecorator()
           
 
Method Summary
 void decorate(Resource resource, DecoratorContext context)
           
 Metric dependsUponViolations()
           
 Metric generatesWeightedViolations()
           
 boolean shouldExecuteOnProject(Project project)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeightedViolationsDecorator

public WeightedViolationsDecorator()
Method Detail

dependsUponViolations

public Metric dependsUponViolations()

generatesWeightedViolations

public Metric generatesWeightedViolations()

shouldExecuteOnProject

public boolean shouldExecuteOnProject(Project project)
Specified by:
shouldExecuteOnProject in interface CheckProject

decorate

public void decorate(Resource resource,
                     DecoratorContext context)
Specified by:
decorate in interface Decorator


Copyright © 2009-2011 SonarSource. All Rights Reserved.