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