diff --git a/src/main/java/ch/geowerkstatt/interlis/testbed/runner/Runner.java b/src/main/java/ch/geowerkstatt/interlis/testbed/runner/Runner.java index 0155ab3..8a48ed3 100644 --- a/src/main/java/ch/geowerkstatt/interlis/testbed/runner/Runner.java +++ b/src/main/java/ch/geowerkstatt/interlis/testbed/runner/Runner.java @@ -22,6 +22,7 @@ public Runner(TestOptions options, Validator validator) { /** * Runs the testbed validation. + * @return {@code true} if the validation was successful, {@code false} otherwise. */ public boolean run() { LOGGER.info("Starting validation of testbed at " + options.basePath()); diff --git a/src/main/java/ch/geowerkstatt/interlis/testbed/runner/Validator.java b/src/main/java/ch/geowerkstatt/interlis/testbed/runner/Validator.java index 76735d5..0603842 100644 --- a/src/main/java/ch/geowerkstatt/interlis/testbed/runner/Validator.java +++ b/src/main/java/ch/geowerkstatt/interlis/testbed/runner/Validator.java @@ -8,6 +8,7 @@ public interface Validator { * * @param filePath the path to the file to validate. * @return true if the validation was successful, false otherwise. + * @throws ValidatorException if the validation could not be performed. */ boolean validate(Path filePath) throws ValidatorException; }