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(Settings settings)
           
 
Method Summary
 void decorate(Resource resource, DecoratorContext context)
           
 List<Metric> dependsUponViolations()
           
 Metric generatesWeightedViolations()
           
 boolean shouldExecuteOnProject(Project project)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeightedViolationsDecorator

public WeightedViolationsDecorator(Settings settings)
Method Detail

dependsUponViolations

public List<Metric> dependsUponViolations()

generatesWeightedViolations

public Metric generatesWeightedViolations()

shouldExecuteOnProject

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

start

public void start()

decorate

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


Copyright © 2009-2012 SonarSource. All Rights Reserved.