@Deprecated public abstract class AbstractFileComplexityDecorator extends Object implements Decorator
Constructor and Description |
---|
AbstractFileComplexityDecorator(Language language)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
decorate(Resource resource,
DecoratorContext context)
Deprecated.
|
List<Metric> |
dependsUponFileAndComplexityMetrics()
Deprecated.
Used to define upstream dependencies
|
Metric |
generateFileComplexityMetric()
Deprecated.
Used to define downstream dependencies
|
boolean |
shouldExecuteOnProject(Project project)
Deprecated.
|
public AbstractFileComplexityDecorator(Language language)
language
- this will be use to defined whether the decorator should be executed on a projectpublic boolean shouldExecuteOnProject(Project project)
shouldExecuteOnProject
in interface CheckProject
public List<Metric> dependsUponFileAndComplexityMetrics()
public Metric generateFileComplexityMetric()
public void decorate(Resource resource, DecoratorContext context)
Copyright © 2009–2015 SonarSource. All rights reserved.