org.sonar.plugins.core.timemachine
Class TendencyDecorator

java.lang.Object
  extended by org.sonar.plugins.core.timemachine.TendencyDecorator
All Implemented Interfaces:
CheckProject, Decorator, BatchComponent, BatchExtension, Extension

public class TendencyDecorator
extends Object
implements Decorator


Field Summary
static String PROP_DAYS_DESCRIPTION
           
 
Constructor Summary
TendencyDecorator(TimeMachine timeMachine, MetricFinder metricFinder, TimeMachineConfiguration configuration)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_DAYS_DESCRIPTION

public static final String PROP_DAYS_DESCRIPTION
See Also:
Constant Field Values
Constructor Detail

TendencyDecorator

public TendencyDecorator(TimeMachine timeMachine,
                         MetricFinder metricFinder,
                         TimeMachineConfiguration configuration)
Method Detail

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


Copyright © 2009-2012 SonarSource. All Rights Reserved.