org.sonar.plugins.design.batch
Class SuspectLcom4DensityDecorator

java.lang.Object
  extended by org.sonar.plugins.design.batch.SuspectLcom4DensityDecorator
All Implemented Interfaces:
CheckProject, Decorator, BatchComponent, BatchExtension, Extension

public class SuspectLcom4DensityDecorator
extends Object
implements Decorator


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

Constructor Detail

SuspectLcom4DensityDecorator

public SuspectLcom4DensityDecorator()
Method Detail

shouldExecuteOnProject

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

generatesMetric

public final Metric generatesMetric()

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.