org.sonar.api.batch
Interface Decorator

All Superinterfaces:
BatchComponent, BatchExtension, CheckProject, Extension
All Known Implementing Classes:
AbstractCoverageDecorator, AbstractDirectoriesDecorator, AbstractDivisionDecorator, AbstractFileComplexityDecorator, AbstractFilesDecorator, AbstractFunctionComplexityDecorator, AbstractFunctionComplexityDistributionDecorator, AbstractNewCoverageFileAnalyzer, AbstractSumChildrenDecorator, ApplyProjectRolesDecorator, BranchCoverageDecorator, CheckAlertThresholds, ChidamberKemererDistributionBuilder, ClassesDecorator, CommentDensityDecorator, CoverageDecorator, DirectoriesDecorator, DuplicationDensityDecorator, FileComplexityDistributionDecorator, FilesDecorator, FileTangleIndexDecorator, FormulaDecorator, FunctionComplexityDistributionBuilder, FunctionsDecorator, GenerateAlertEvents, ItBranchCoverageDecorator, ItCoverageDecorator, ItLineCoverageDecorator, LineCoverageDecorator, ManualMeasureDecorator, ManualViolationInjector, NewCoverageAggregator, NewCoverageFileAnalyzer, NewItCoverageFileAnalyzer, NewViolationsDecorator, PackageTangleIndexDecorator, ProjectDsmDecorator, ReviewsMeasuresDecorator, ReviewWorkflowDecorator, SumDuplicationsDecorator, SuspectLcom4DensityDecorator, TangleIndexDecorator, TendencyDecorator, TimeMachineConfigurationPersister, UnitTestDecorator, VariationDecorator, ViolationPersisterDecorator, ViolationsDecorator, ViolationsDensityDecorator, ViolationSeverityUpdater, ViolationTrackingDecorator, WeightedViolationsDecorator

public interface Decorator
extends BatchExtension, CheckProject

Since:
1.10

Method Summary
 void decorate(Resource resource, DecoratorContext context)
           
 
Methods inherited from interface org.sonar.api.batch.CheckProject
shouldExecuteOnProject
 

Method Detail

decorate

void decorate(Resource resource,
              DecoratorContext context)
Parameters:
resource - resource that is currently decorated, equivalent of context.getResource()


Copyright © 2009-2012 SonarSource. All Rights Reserved.