org.sonar.plugins.totalquality
Class AbstractBaseDecorator

java.lang.Object
  extended by org.sonar.plugins.totalquality.AbstractDecorator
      extended by org.sonar.plugins.totalquality.AbstractBaseDecorator
All Implemented Interfaces:
org.sonar.api.batch.CheckProject, org.sonar.api.batch.Decorator, org.sonar.api.BatchExtension, org.sonar.api.Extension
Direct Known Subclasses:
AbstractDesignDecorator, ArchitectureADIDecorator, ArchitecturePTIDecorator

public abstract class AbstractBaseDecorator
extends AbstractDecorator


Constructor Summary
AbstractBaseDecorator()
           
 
Method Summary
 void decorate(org.sonar.api.resources.Resource resource, org.sonar.api.batch.DecoratorContext context)
           
 boolean shouldDecorateDir(org.sonar.api.resources.Resource resource, org.sonar.api.batch.DecoratorContext context)
           
 boolean shouldDecorateFile(org.sonar.api.resources.Resource resource, org.sonar.api.batch.DecoratorContext context)
           
 boolean shouldDecorateProj(org.sonar.api.resources.Resource resource, org.sonar.api.batch.DecoratorContext context)
           
 
Methods inherited from class org.sonar.plugins.totalquality.AbstractDecorator
hasCode, isDir, isFile, isProj, shouldExecuteOnProject, shouldSaveMeasure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBaseDecorator

public AbstractBaseDecorator()
Method Detail

decorate

public void decorate(org.sonar.api.resources.Resource resource,
                     org.sonar.api.batch.DecoratorContext context)

shouldDecorateFile

public boolean shouldDecorateFile(org.sonar.api.resources.Resource resource,
                                  org.sonar.api.batch.DecoratorContext context)

shouldDecorateDir

public boolean shouldDecorateDir(org.sonar.api.resources.Resource resource,
                                 org.sonar.api.batch.DecoratorContext context)

shouldDecorateProj

public boolean shouldDecorateProj(org.sonar.api.resources.Resource resource,
                                  org.sonar.api.batch.DecoratorContext context)


Copyright © 2010 SonarSource SA. All Rights Reserved.