From 70fd21aad5fa501051e562c04e4e419b88f83853 Mon Sep 17 00:00:00 2001 From: Christian Maierhofer Date: Wed, 17 Aug 2016 16:20:52 +0200 Subject: added ConfigurationValidator --- .../pdfas/lib/configuration/ConfigurationValidator.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/configuration/ConfigurationValidator.java (limited to 'pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib') diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/configuration/ConfigurationValidator.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/configuration/ConfigurationValidator.java new file mode 100644 index 00000000..67aa705a --- /dev/null +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/configuration/ConfigurationValidator.java @@ -0,0 +1,15 @@ +package at.gv.egiz.pdfas.lib.configuration; + +import at.gv.egiz.pdfas.common.exceptions.PdfAsSettingsValidationException; +import at.gv.egiz.pdfas.common.settings.ISettings; + +public interface ConfigurationValidator { + + void validate(ISettings settings) throws PdfAsSettingsValidationException; + + boolean usedAsDefault(); + + String getName(); + + +} -- cgit v1.2.3