aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-lib/src')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/configuration/ConfigurationValidator.java15
1 files changed, 15 insertions, 0 deletions
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();
+
+
+}