org.sonar.plugins.core.timemachine
Class TendencyDecorator
java.lang.Object
org.sonar.plugins.core.timemachine.TendencyDecorator
- All Implemented Interfaces:
- CheckProject, Decorator, BatchComponent, BatchExtension, Extension
public class TendencyDecorator
- extends Object
- implements Decorator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_DAYS_DESCRIPTION
public static final String PROP_DAYS_DESCRIPTION
- See Also:
- Constant Field Values
TendencyDecorator
public TendencyDecorator(TimeMachine timeMachine,
MetricFinder metricFinder,
TimeMachineConfiguration configuration)
dependsUponMetrics
public List<Metric> dependsUponMetrics()
initQuery
protected TimeMachineQuery initQuery(Project project)
resetQuery
protected TimeMachineQuery resetQuery(Project project,
Resource resource)
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
- Parameters:
resource
- resource that is currently decorated, equivalent of context.getResource()
Copyright © 2009-2012 SonarSource. All Rights Reserved.