]> source.dussan.org Git - sonarqube.git/commitdiff
Add a new property "stopSquidOnException" to the SquidConfiguration bean. This proper...
authorfmallet <freddy.mallet@gmail.com>
Wed, 22 Sep 2010 12:49:53 +0000 (12:49 +0000)
committerfmallet <freddy.mallet@gmail.com>
Wed, 22 Sep 2010 12:49:53 +0000 (12:49 +0000)
sonar-squid/src/main/java/org/sonar/squid/api/SquidConfiguration.java

index 30321f8150462ca253671d47568cf280d2270438..b6d36d390f9d8652d00f64eb51f4ea5a0433ade2 100644 (file)
@@ -24,6 +24,7 @@ import java.nio.charset.Charset;
 public class SquidConfiguration {
 
   private Charset charset = Charset.defaultCharset();
+  private boolean stopSquidOnException = false;
 
   public SquidConfiguration() {
   }
@@ -36,4 +37,12 @@ public class SquidConfiguration {
     return charset;
   }
 
+  public void setStopSquidOnException(boolean stopSquidOnException) {
+    this.stopSquidOnException = stopSquidOnException;
+  }
+
+  public boolean stopSquidOnException() {
+    return stopSquidOnException;
+  }
+
 }
\ No newline at end of file