org.sonar.plugins.totalquality
Class AbstractDecorator
java.lang.Object
org.sonar.plugins.totalquality.AbstractDecorator
- All Implemented Interfaces:
- org.sonar.api.batch.CheckProject, org.sonar.api.batch.Decorator, org.sonar.api.BatchExtension, org.sonar.api.Extension
- Direct Known Subclasses:
- AbstractBaseDecorator, AbstractFormulaBasedDecorator, DrynessDecorator
public abstract class AbstractDecorator
- extends java.lang.Object
- implements org.sonar.api.batch.Decorator
|
Method Summary |
boolean |
hasCode(org.sonar.api.batch.DecoratorContext context)
|
boolean |
isDir(org.sonar.api.resources.Resource resource)
|
boolean |
isFile(org.sonar.api.resources.Resource resource)
|
boolean |
isProj(org.sonar.api.resources.Resource resource)
|
boolean |
shouldExecuteOnProject(org.sonar.api.resources.Project project)
Only for java projects. |
boolean |
shouldSaveMeasure(org.sonar.api.resources.Resource resource)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.sonar.api.batch.Decorator |
decorate |
AbstractDecorator
public AbstractDecorator()
hasCode
public boolean hasCode(org.sonar.api.batch.DecoratorContext context)
shouldSaveMeasure
public boolean shouldSaveMeasure(org.sonar.api.resources.Resource resource)
shouldExecuteOnProject
public boolean shouldExecuteOnProject(org.sonar.api.resources.Project project)
- Only for java projects.
- Specified by:
shouldExecuteOnProject in interface org.sonar.api.batch.CheckProject
isFile
public boolean isFile(org.sonar.api.resources.Resource resource)
isDir
public boolean isDir(org.sonar.api.resources.Resource resource)
isProj
public boolean isProj(org.sonar.api.resources.Resource resource)
Copyright © 2010 SonarSource SA. All Rights Reserved.