aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-squid/src/main/java/org/sonar/squid
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-squid/src/main/java/org/sonar/squid')
-rw-r--r--sonar-squid/src/main/java/org/sonar/squid/api/SquidConfiguration.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/SquidConfiguration.java b/sonar-squid/src/main/java/org/sonar/squid/api/SquidConfiguration.java
index 30321f81504..b6d36d390f9 100644
--- a/sonar-squid/src/main/java/org/sonar/squid/api/SquidConfiguration.java
+++ b/sonar-squid/src/main/java/org/sonar/squid/api/SquidConfiguration.java
@@ -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