org.sonar.plugins.squid.decorators
Class FunctionsDecorator

java.lang.Object
  extended by org.sonar.plugins.squid.decorators.FunctionsDecorator
All Implemented Interfaces:
CheckProject, Decorator, BatchComponent, BatchExtension, Extension

public final class FunctionsDecorator
extends Object
implements Decorator


Constructor Summary
FunctionsDecorator()
           
 
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
 

Constructor Detail

FunctionsDecorator

public FunctionsDecorator()
Method Detail

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()

shouldExecuteOnProject

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


Copyright © 2009-2012 SonarSource. All Rights Reserved.