Interface ValidatorConfig
public interface ValidatorConfig
Encapsulates the configuration of the veraPDF PDF/A validator. An instance of
this class is passed to the validator to control PDF/A validation behaviour.
- Version:
- 0.1 Created 26 Oct 2016:00:04:41
- Author:
- Carl Wilson carlwilson AT github
-
Method Summary
Modifier and TypeMethodDescriptionObtain the particular PDF/A specification that the validator enforces.int
The maximum number of failed validation checks encountered before validation is terminated.int
boolean
boolean
boolean
isDebug()
boolean
boolean
Indicates whether the validator is configured to record passed checks.void
setDefaultFlavour
(PDFAFlavour defaultFlavour) void
setFlavour
(PDFAFlavour flavour) boolean
-
Method Details
-
isRecordPasses
boolean isRecordPasses()Indicates whether the validator is configured to record passed checks.- Returns:
- true if passed checks should be recorded, false if only failed checks should be recorde.
-
getMaxFails
int getMaxFails()The maximum number of failed validation checks encountered before validation is terminated.- Returns:
- the number of failed validation checks before validation is terminated.
-
getFlavour
PDFAFlavour getFlavour()Obtain the particular PDF/A specification that the validator enforces.- Returns:
- the
PDFAFlavour
that the validator enforces.
-
setFlavour
-
getDefaultFlavour
PDFAFlavour getDefaultFlavour() -
setDefaultFlavour
-
isDebug
boolean isDebug() -
isLogsEnabled
boolean isLogsEnabled() -
showErrorMessages
boolean showErrorMessages() -
getLoggingLevel
Level getLoggingLevel() -
getMaxNumberOfDisplayedFailedChecks
int getMaxNumberOfDisplayedFailedChecks() -
getPassword
String getPassword() -
getShowProgress
boolean getShowProgress() -
getNonPDFExtension
boolean getNonPDFExtension()
-