public class TendencyDecorator extends Object implements Decorator
Modifier and Type | Field and Description |
---|---|
static String |
PROP_DAYS_DESCRIPTION |
Constructor and Description |
---|
TendencyDecorator(TimeMachine timeMachine,
MetricFinder metricFinder,
TimeMachineConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
decorate(Resource resource,
DecoratorContext context) |
List<Metric> |
dependsUponMetrics() |
protected TimeMachineQuery |
initQuery(Project project) |
protected TimeMachineQuery |
resetQuery(Project project,
Resource resource) |
boolean |
shouldExecuteOnProject(Project project) |
public static final String PROP_DAYS_DESCRIPTION
public TendencyDecorator(TimeMachine timeMachine, MetricFinder metricFinder, TimeMachineConfiguration configuration)
public List<Metric> dependsUponMetrics()
protected TimeMachineQuery initQuery(Project project)
protected TimeMachineQuery resetQuery(Project project, Resource resource)
public boolean shouldExecuteOnProject(Project project)
shouldExecuteOnProject
in interface CheckProject
public void decorate(Resource resource, DecoratorContext context)
Copyright © 2009-2012 SonarSource. All Rights Reserved.