Browse Source

Add a new property "stopSquidOnException" to the SquidConfiguration bean. This property is pretty useful when running integration tests in order to fail the tests when something wrong happens.

tags/2.6
fmallet 13 years ago
parent
commit
dc7f858152

+ 9
- 0
sonar-squid/src/main/java/org/sonar/squid/api/SquidConfiguration.java View File

public class SquidConfiguration { public class SquidConfiguration {


private Charset charset = Charset.defaultCharset(); private Charset charset = Charset.defaultCharset();
private boolean stopSquidOnException = false;


public SquidConfiguration() { public SquidConfiguration() {
} }
return charset; return charset;
} }


public void setStopSquidOnException(boolean stopSquidOnException) {
this.stopSquidOnException = stopSquidOnException;
}

public boolean stopSquidOnException() {
return stopSquidOnException;
}

} }

Loading…
Cancel
Save