org.sonar.batch.language
Class LanguageDistributionDecorator

java.lang.Object
  extended by org.sonar.batch.language.LanguageDistributionDecorator
All Implemented Interfaces:
CheckProject, Decorator, BatchComponent, BatchExtension, Extension

public class LanguageDistributionDecorator
extends Object
implements Decorator


Constructor Summary
LanguageDistributionDecorator()
           
 
Method Summary
 void decorate(Resource resource, DecoratorContext context)
           
 Metric dependsUponMetric()
           
 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

LanguageDistributionDecorator

public LanguageDistributionDecorator()
Method Detail

shouldExecuteOnProject

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

dependsUponMetric

public Metric dependsUponMetric()

generatesMetric

public Metric generatesMetric()

decorate

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


Copyright © 2009–2015 SonarSource. All rights reserved.