Commit c1c27a52 authored by Matthias Betz's avatar Matthias Betz
Browse files

Writing minVertexDistance in reports again

parent edf34af4
Pipeline #1278 failed with stage
in 1 minute and 28 seconds
......@@ -33,9 +33,19 @@ public class ValidationPlan {
@XmlElement(name = "schematron_file", required = false)
private String schematronFile;
private double minVertexDistance;
@XmlElement(name = "check", required = true)
private List<PlanCheck> checks;
public void setMinVertexDistance(double minVertexDistance) {
this.minVertexDistance = minVertexDistance;
}
public double getMinVertexDistance() {
return minVertexDistance;
}
public void setSchematronFile(String schematronFile) {
this.schematronFile = schematronFile;
......
......@@ -111,6 +111,7 @@ public class XmlStreamReporter implements StreamReporter {
private ValidationPlan createValidationPlan() {
ValidationPlan plan = new ValidationPlan();
plan.setMinVertexDistance(config.getMinVertexDistance());
plan.setNumberOfRoundingPlaces(config.getNumberOfRoundingPlaces());
List<PlanCheck> checkConfigs = new ArrayList<>();
plan.setChecks(checkConfigs);
......
......@@ -131,6 +131,7 @@ public class PdfStreamReporter implements StreamReporter {
private void writeValidationPlan() {
Section vp = report.createSection("Validation Plan", true);
vp.addTextElement("numberOfRoundingPlaces = " + config.getNumberOfRoundingPlaces());
vp.addTextElement("minVertexDistance = " + config.getMinVertexDistance());
if (config.getSchematronFilePath() != null && !config.getSchematronFilePath().isEmpty()) {
vp.addTextElement("Schematron file: " + config.getSchematronFilePath());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment