org.sonar.api.batch
Class AbstractFunctionComplexityDistributionDecorator
java.lang.Object
org.sonar.api.batch.AbstractFunctionComplexityDistributionDecorator
- All Implemented Interfaces:
- CheckProject, Decorator, BatchComponent, BatchExtension, Extension
Deprecated. since 2.1, a formula has been implemented on the metric, so no need to have decorator anymore
@Deprecated
public abstract class AbstractFunctionComplexityDistributionDecorator
- extends Object
- implements Decorator
- Since:
- 2.0
AbstractFunctionComplexityDistributionDecorator
public AbstractFunctionComplexityDistributionDecorator(Language language)
- Deprecated.
generatesMetrics
public Metric generatesMetrics()
- Deprecated.
shouldExecuteOnProject
public boolean shouldExecuteOnProject(Project project)
- Deprecated.
- Specified by:
shouldExecuteOnProject
in interface CheckProject
decorate
public void decorate(Resource resource,
DecoratorContext context)
- Deprecated.
- Specified by:
decorate
in interface Decorator
- Parameters:
resource
- resource that is currently decorated, equivalent of context.getResource()
toString
public String toString()
- Deprecated.
- Overrides:
toString
in class Object
Copyright © 2009–2015 SonarSource. All rights reserved.