Package org.sonar.api

Interface BatchComponent


  • @Deprecated
    @ScannerSide
    public interface BatchComponent
    Deprecated.
    since 5.2 use ScannerSide annotation
    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