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, Metrics, ModuleFileSystem, ModuleScanPhaseHandler, NotificationManager, Perspectives, PluginRepository, PostJob, PostJobExecutionHandler, PostJobsPhaseHandler, ProjectAnalysisHandler, ProjectFileSystem, ProjectIssues, ProjectScanHandler, ResourceCreationLock, ResourceFilter, ResourcePerspectives, RuleI18n, 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, DatabaseSession, DefaultFileSystem, Durations, EmailSettings, FileExclusions, FileFilter, HttpDownloader, Initializer, Java, Languages, Metric, NoSonarFilter, NoSonarFilter, PathResolver, ProfileExporter, ProjectBuilder, ProjectClasspath, ProjectReactor, PropertyDefinition, PropertyDefinitions, Server, Settings, System2, UriReader, Xoo

public interface BatchComponent

Dependency Injection : all the classes implementing this interface are available in the batch IoC container. Just add a parameter to the constructor of your component.

Since:
2.2



Copyright © 2009-2014 SonarSource. All Rights Reserved.