|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.api.batch.AbstractFileComplexityDecorator
@Deprecated public abstract class AbstractFileComplexityDecorator
| Constructor Summary | |
|---|---|
AbstractFileComplexityDecorator(Language language)
Deprecated. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFileComplexityDecorator(Language language)
language - this will be use to defined whether the decorator should be executed on a project| Method Detail |
|---|
public boolean shouldExecuteOnProject(Project project)
shouldExecuteOnProject in interface CheckProjectpublic List<Metric> dependsUponFileAndComplexityMetrics()
public Metric generateFileComplexityMetric()
public void decorate(Resource resource,
DecoratorContext context)
decorate in interface Decoratorresource - resource that is currently decorated, equivalent of context.getResource()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||