/** * @since 4.4 */ public synchronized Batch start() { return start(false); }
public void start() { batch.start(); }
@Override public void start(Properties globalProperties, org.sonar.runner.batch.LogOutput logOutput, boolean preferCache) { batch = factory.createBatch(globalProperties, logOutput, null); batch.start(preferCache); }
/** * @deprecated since 4.4 use {@link #start()}, {@link #executeTask(Map)} and then {@link #stop()} */ @Deprecated public synchronized Batch execute() { configureLogging(); start().executeTask(bootstrapProperties).stop(); return this; }
/** * @deprecated since 4.4 use {@link #start()}, {@link #executeTask(Map)} and then {@link #stop()} */ @Deprecated public synchronized Batch execute() { configureLogging(); start(); boolean threw = true; try { executeTask(bootstrapProperties); threw = false; } finally { doStop(threw); } return this; }