aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib
diff options
context:
space:
mode:
authorChristian Maierhofer <cmaierhofer@iaik.tugraz.at>2016-08-17 16:20:52 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2016-08-17 16:56:20 +0200
commit70fd21aad5fa501051e562c04e4e419b88f83853 (patch)
tree5158da91241bd83e29ac891034a9166680afaa8f /pdf-as-lib
parentc98ea00dffa6f8eaf7d78411435df77e64f5f2cd (diff)
downloadpdf-as-4-70fd21aad5fa501051e562c04e4e419b88f83853.tar.gz
pdf-as-4-70fd21aad5fa501051e562c04e4e419b88f83853.tar.bz2
pdf-as-4-70fd21aad5fa501051e562c04e4e419b88f83853.zip
added ConfigurationValidator
Diffstat (limited to 'pdf-as-lib')
-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();
+
+
+}