public class ViolationTrackingDecorator extends Object implements Decorator
Constructor and Description |
---|
ViolationTrackingDecorator(Project project,
ReferenceAnalysis referenceAnalysis,
SonarIndex index) |
Modifier and Type | Method and Description |
---|---|
void |
decorate(Resource resource,
DecoratorContext context) |
RuleFailureModel |
getReferenceViolation(Violation violation) |
boolean |
shouldExecuteOnProject(Project project) |
String |
toString() |
public ViolationTrackingDecorator(Project project, ReferenceAnalysis referenceAnalysis, SonarIndex index)
public boolean shouldExecuteOnProject(Project project)
shouldExecuteOnProject
in interface CheckProject
public void decorate(Resource resource, DecoratorContext context)
public RuleFailureModel getReferenceViolation(Violation violation)
Copyright © 2009-2012 SonarSource. All Rights Reserved.