public class SumDuplicationsDecorator extends AbstractSumChildrenDecorator
Constructor and Description |
---|
SumDuplicationsDecorator() |
Modifier and Type | Method and Description |
---|---|
List<Metric> |
generatesMetrics()
Each metric is used individually.
|
boolean |
shouldDecorateResource(Resource resource) |
boolean |
shouldExecuteOnProject(Project project) |
protected boolean |
shouldSaveZeroIfNoChildMeasures() |
decorate, toString
public SumDuplicationsDecorator()
public List<Metric> generatesMetrics()
AbstractSumChildrenDecorator
Important : annotations are not inherited, so you have to copy the @DependedUpon annotation when implementing this method.
generatesMetrics
in class AbstractSumChildrenDecorator
protected boolean shouldSaveZeroIfNoChildMeasures()
shouldSaveZeroIfNoChildMeasures
in class AbstractSumChildrenDecorator
public boolean shouldExecuteOnProject(Project project)
AbstractSumChildrenDecorator
shouldExecuteOnProject
in interface CheckProject
shouldExecuteOnProject
in class AbstractSumChildrenDecorator
public boolean shouldDecorateResource(Resource resource)
shouldDecorateResource
in class AbstractSumChildrenDecorator
Copyright © 2009-2012 SonarSource. All Rights Reserved.