org.sonar.plugins.core.sensors
Class FilesDecorator
java.lang.Object
org.sonar.plugins.core.sensors.FilesDecorator
- All Implemented Interfaces:
- CheckProject, Decorator, BatchComponent, BatchExtension, Extension
public final class FilesDecorator
- extends Object
- implements Decorator
- Since:
- 2.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilesDecorator
public FilesDecorator()
shouldExecuteOnProject
public boolean shouldExecuteOnProject(Project project)
- Specified by:
shouldExecuteOnProject
in interface CheckProject
generateDirectoriesMetric
public Metric generateDirectoriesMetric()
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.