org.sonar.api.batch
Class AbstractDirectoriesDecorator

java.lang.Object
  extended by org.sonar.api.batch.AbstractDirectoriesDecorator
All Implemented Interfaces:
CheckProject, Decorator, BatchComponent, BatchExtension, Extension

Deprecated. since 2.2, the number of directories is automatically calculated by sonar core (see metric formula)

@Deprecated
public abstract class AbstractDirectoriesDecorator
extends Object
implements Decorator

A pre-implementation to decorate the number of directories

Since:
1.10

Constructor Summary
AbstractDirectoriesDecorator(Language language)
          Deprecated.  
 
Method Summary
 void decorate(Resource resource, DecoratorContext context)
          Deprecated. 
 boolean shouldExecuteOnProject(Project project)
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDirectoriesDecorator

public AbstractDirectoriesDecorator(Language language)
Deprecated. 
Parameters:
language - this will be use to defined whether the decorator should be executed on a project
Method Detail

shouldExecuteOnProject

public boolean shouldExecuteOnProject(Project project)
Deprecated. 

Specified by:
shouldExecuteOnProject in interface CheckProject

decorate

public void decorate(Resource resource,
                     DecoratorContext context)
Deprecated. 

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


Copyright © 2009-2014 SonarSource. All Rights Reserved.