org.sonar.plugins.design.batch
Class ProjectDsmDecorator
java.lang.Object
org.sonar.plugins.design.batch.ProjectDsmDecorator
- All Implemented Interfaces:
- CheckProject, Decorator, BatchComponent, BatchExtension, Extension
public class ProjectDsmDecorator
- extends Object
- implements Decorator
For performance reasons, this decorator is currently limited to matrix between modules.
Squid is optimized for cycle detections (better hashCode and equals methods of SourceCode classes than Resource).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectDsmDecorator
public ProjectDsmDecorator(SonarIndex index)
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
- Parameters:
resource
- resource that is currently decorated, equivalent of context.getResource()
Copyright © 2009-2012 SonarSource. All Rights Reserved.