org.sonar.api.batch
Class FormulaDecorator
java.lang.Object
org.sonar.api.batch.FormulaDecorator
- All Implemented Interfaces:
- CheckProject, Decorator, BatchExtension, Extension
public class FormulaDecorator
- extends Object
- implements Decorator
- Since:
- 1.11
FormulaDecorator
public FormulaDecorator(Metric metric)
shouldExecuteOnProject
public boolean shouldExecuteOnProject(Project project)
- Specified by:
shouldExecuteOnProject
in interface CheckProject
generatesMetric
public Metric generatesMetric()
dependsUponMetrics
public List<Metric> dependsUponMetrics()
decorate
public void decorate(Resource resource,
DecoratorContext context)
- Specified by:
decorate
in interface Decorator
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009 SonarSource SA. All Rights Reserved.