org.sonar.plugins.core.timemachine
Class VariationDecorator
java.lang.Object
org.sonar.plugins.core.timemachine.VariationDecorator
- All Implemented Interfaces:
- CheckProject, Decorator, BatchComponent, BatchExtension, Extension
public class VariationDecorator
- extends Object
- implements Decorator
VariationDecorator
public VariationDecorator(PastMeasuresLoader pastMeasuresLoader,
MetricFinder metricFinder,
TimeMachineConfiguration configuration)
shouldExecuteOnProject
public boolean shouldExecuteOnProject(Project project)
- Specified by:
shouldExecuteOnProject
in interface CheckProject
dependsUponMetrics
public Collection<Metric> dependsUponMetrics()
decorate
public void decorate(Resource resource,
DecoratorContext context)
- Specified by:
decorate
in interface Decorator
- Parameters:
resource
- resource that is currently decorated, equivalent of context.getResource()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 SonarSource. All Rights Reserved.