public class NewViolationsDecorator extends Object implements Decorator
Constructor and Description |
---|
NewViolationsDecorator(TimeMachineConfiguration timeMachineConfiguration,
NotificationManager notificationManager) |
Modifier and Type | Method and Description |
---|---|
void |
decorate(Resource resource,
DecoratorContext context) |
List<Metric> |
generatesMetric() |
protected void |
notifyNewViolations(Project project,
DecoratorContext context) |
boolean |
shouldExecuteOnProject(Project project) |
String |
toString() |
public NewViolationsDecorator(TimeMachineConfiguration timeMachineConfiguration, NotificationManager notificationManager)
public boolean shouldExecuteOnProject(Project project)
shouldExecuteOnProject
in interface CheckProject
public List<Metric> generatesMetric()
public void decorate(Resource resource, DecoratorContext context)
protected void notifyNewViolations(Project project, DecoratorContext context)
Copyright © 2009-2012 SonarSource. All Rights Reserved.