org.sonar.api
Interface BatchComponent

All Known Subinterfaces:
ActiveRules, BatchExtension, CoverageExtension, CpdMapping, Decorator, DecoratorExecutionHandler, DecoratorsPhaseHandler, DependsUponMavenPlugin, EventHandler, FileLinesContextFactory, FileSystem, FileSystemFilter, I18n, InitializerExecutionHandler, InitializersPhaseHandler, InputFileFilter, IssueFilter, IssueFilter, IssueHandler, Language, MavenPhaseHandler, MavenPluginHandler, MetricFinder, Metrics, ModuleFileSystem, ModuleScanPhaseHandler, NotificationManager, Perspectives, PluginRepository, PostJob, PostJobExecutionHandler, PostJobsPhaseHandler, ProjectAnalysisHandler, ProjectFileSystem, ProjectIssues, ProjectScanHandler, ResourceCreationLock, ResourceFilter, ResourcePerspectives, RuleI18n, Sensor, Sensor, SensorExecutionHandler, SensorsPhaseHandler, TechnicalDebtModel, TimeMachine, UserFinder, UserFinder, ViolationFilter
All Known Implementing Classes:
AbstractCoverageExtension, AbstractCpdMapping, AbstractDirectoriesDecorator, AbstractDivisionDecorator, AbstractFileComplexityDecorator, AbstractFilesDecorator, AbstractFunctionComplexityDecorator, AbstractFunctionComplexityDistributionDecorator, AbstractLanguage, AbstractSourceImporter, AbstractSumChildrenDecorator, BuildBreaker, CheckFactory, ComponentContainer, CreateIssueByInternalKeySensor, DatabaseSession, DefaultActiveRules, DefaultFileSystem, Durations, EmailSettings, FileExclusions, FileFilter, HttpDownloader, Initializer, Java, Languages, MeasureSensor, Metric, NoSonarFilter, NoSonarFilter, OneIssueOnDirPerFileSensor, OneIssuePerLineSensor, PathResolver, ProfileExporter, ProjectBuilder, ProjectClasspath, ProjectReactor, PropertyDefinition, PropertyDefinitions, ScmActivitySensor, Server, Settings, SymbolReferencesSensor, SyntaxHighlightingSensor, System2, UriReader, Xoo, XooFakeExporter, XooTokenizerSensor

public interface BatchComponent

Marker interface for all the components available in container of batch (code analyzer). Note that injection of dependencies by constructor is used :

   public class Foo implements BatchComponent {

   }
   public class Bar implements BatchComponent {
     private final Foo foo;
     public Bar(Foo f) {
       this.foo = f;
     }
   }

 

Since:
2.2



Copyright © 2009–2015 SonarSource. All rights reserved.