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, Rules, Sensor, Sensor, SensorExecutionHandler, SensorsPhaseHandler, TechnicalDebtModel, TimeMachine, UserFinder, UserFinder, ViolationFilter
All Known Implementing Classes:
AbstractCpdMapping, AbstractDivisionDecorator, AbstractLanguage, AbstractSourceImporter, AbstractSumChildrenDecorator, BlameCommand, BuildBreaker, CheckFactory, ChecksSensor, ComponentContainer, CoveragePerTestSensor, CreateIssueByInternalKeySensor, DatabaseSession, DefaultActiveRules, DefaultFileSystem, DependencySensor, Durations, EmailSettings, FileExclusions, HttpDownloader, Initializer, Java, Languages, MeasureSensor, Metric, NoSonarFilter, NoSonarFilter, OneIssueOnDirPerFileSensor, OneIssuePerLineSensor, PathResolver, ProfileExporter, ProjectBuilder, ProjectClasspath, ProjectReactor, PropertyDefinition, PropertyDefinitions, ScmProvider, Server, Settings, SymbolReferencesSensor, SyntaxHighlightingSensor, System2, TestCaseSensor, UriReader, Xoo, XooBlameCommand, XooFakeExporter, XooScmProvider, 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.