org.sonar.batch.debt
Class DebtDecorator
java.lang.Object
org.sonar.batch.debt.DebtDecorator
- All Implemented Interfaces:
- CheckProject, Decorator, BatchComponent, BatchExtension, Extension
public final class DebtDecorator
- extends Object
- implements Decorator
Decorator that computes the technical debt metric
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DebtDecorator
public DebtDecorator(ResourcePerspectives perspectives,
TechnicalDebtModel model,
Rules rules,
RuleFinder ruleFinder)
shouldExecuteOnProject
public boolean shouldExecuteOnProject(Project project)
- Specified by:
shouldExecuteOnProject in interface CheckProject
generatesMetrics
public List<Metric> generatesMetrics()
decorate
public void decorate(Resource resource,
DecoratorContext context)
- Specified by:
decorate in interface Decorator
Copyright © 2009–2015 SonarSource. All rights reserved.