org.sonar.plugins.core.sensors
Class WeightedViolationsDecorator
java.lang.Object
org.sonar.plugins.core.sensors.WeightedViolationsDecorator
- All Implemented Interfaces:
- CheckProject, Decorator, BatchComponent, BatchExtension, Extension
public class WeightedViolationsDecorator
- extends Object
- implements Decorator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeightedViolationsDecorator
public WeightedViolationsDecorator(Settings settings)
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.