org.sonar.plugins.core.timemachine
Class NewCoverageAggregator

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

public final class NewCoverageAggregator
extends Object
implements Decorator


Constructor Summary
NewCoverageAggregator()
           
 
Method Summary
 void decorate(Resource resource, DecoratorContext context)
           
 List<Metric> generatesNewCoverageMetrics()
           
 boolean shouldExecuteOnProject(Project project)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewCoverageAggregator

public NewCoverageAggregator()
Method Detail

shouldExecuteOnProject

public boolean shouldExecuteOnProject(Project project)
Specified by:
shouldExecuteOnProject in interface CheckProject

generatesNewCoverageMetrics

public List<Metric> generatesNewCoverageMetrics()

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.