org.sonar.batch.bootstrapper
Class Batch.Builder

java.lang.Object
  extended by org.sonar.batch.bootstrapper.Batch.Builder
Enclosing class:
Batch

public static final class Batch.Builder
extends Object


Method Summary
 Batch.Builder addComponent(Object component)
           
 Batch.Builder addComponents(Object... components)
           
 Batch build()
           
 boolean isEnableLoggingConfiguration()
           
 Batch.Builder setComponents(List l)
           
 Batch.Builder setEnableLoggingConfiguration(boolean b)
          Logback is configured by default.
 Batch.Builder setEnvironment(EnvironmentInformation env)
           
 Batch.Builder setProjectReactor(ProjectReactor projectReactor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setProjectReactor

public Batch.Builder setProjectReactor(ProjectReactor projectReactor)

setEnvironment

public Batch.Builder setEnvironment(EnvironmentInformation env)

setComponents

public Batch.Builder setComponents(List l)

addComponents

public Batch.Builder addComponents(Object... components)

addComponent

public Batch.Builder addComponent(Object component)

isEnableLoggingConfiguration

public boolean isEnableLoggingConfiguration()

setEnableLoggingConfiguration

public Batch.Builder setEnableLoggingConfiguration(boolean b)
Logback is configured by default. It can be disabled, but n this case the batch bootstrapper must provide its own implementation of SLF4J.


build

public Batch build()


Copyright © 2009-2012 SonarSource. All Rights Reserved.