org.sonar.plugins.core.sensors
Class UnitTestDecorator

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

public class UnitTestDecorator
extends Object
implements Decorator


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

Constructor Detail

UnitTestDecorator

public UnitTestDecorator()
Method Detail

generatesMetrics

public List<Metric> generatesMetrics()

shouldExecuteOnProject

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

shouldDecorateResource

public boolean shouldDecorateResource(Resource resource,
                                      DecoratorContext context)

decorate

public void decorate(Resource resource,
                     DecoratorContext context)
Specified by:
decorate in interface Decorator

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2011 SonarSource. All Rights Reserved.