org.sonar.plugins.core.sensors
Class ReviewWorkflowDecorator

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

public class ReviewWorkflowDecorator
extends Object
implements Decorator


Field Summary
static String END_OF_REVIEWS_UPDATES
           
 
Constructor Summary
ReviewWorkflowDecorator(ReviewNotifications notifications, ReviewDao reviewDao, ResourcePersister resourcePersister)
           
 
Method Summary
 void decorate(Resource resource, DecoratorContext context)
           
 boolean shouldExecuteOnProject(Project project)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

END_OF_REVIEWS_UPDATES

public static final String END_OF_REVIEWS_UPDATES
See Also:
Constant Field Values
Constructor Detail

ReviewWorkflowDecorator

public ReviewWorkflowDecorator(ReviewNotifications notifications,
                               ReviewDao reviewDao,
                               ResourcePersister resourcePersister)
Method Detail

shouldExecuteOnProject

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

decorate

public void decorate(Resource resource,
                     DecoratorContext context)
Specified by:
decorate in interface Decorator
Parameters:
resource - resource that is currently decorated, equivalent of context.getResource()


Copyright © 2009-2012 SonarSource. All Rights Reserved.