org.sonar.plugins.core.timemachine
Class NewViolationsDecorator

java.lang.Object
  extended by org.sonar.plugins.core.timemachine.NewViolationsDecorator
All Implemented Interfaces:
CheckProject, Decorator, BatchComponent, BatchExtension, Extension

public class NewViolationsDecorator
extends Object
implements Decorator


Constructor Summary
NewViolationsDecorator(TimeMachineConfiguration timeMachineConfiguration)
           
 
Method Summary
 void decorate(Resource resource, DecoratorContext context)
           
 List<Metric> generatesMetric()
           
 boolean shouldExecuteOnProject(Project project)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NewViolationsDecorator

public NewViolationsDecorator(TimeMachineConfiguration timeMachineConfiguration)
Method Detail

shouldExecuteOnProject

public boolean shouldExecuteOnProject(Project project)
Specified by:
shouldExecuteOnProject in interface CheckProject

generatesMetric

public List<Metric> generatesMetric()

decorate

public void decorate(Resource resource,
                     DecoratorContext context)
Specified by:
decorate in interface Decorator

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2011 SonarSource. All Rights Reserved.