org.sonar.plugins.core.sensors
Class UnitTestDecorator
java.lang.Object
org.sonar.plugins.core.sensors.UnitTestDecorator
- All Implemented Interfaces:
- CheckProject, Decorator, BatchComponent, BatchExtension, Extension
public class UnitTestDecorator
- extends Object
- implements Decorator
UnitTestDecorator
public UnitTestDecorator()
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
- Parameters:
resource
- resource that is currently decorated, equivalent of context.getResource()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 SonarSource. All Rights Reserved.