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.intThe maximum number of failed validation checks encountered before validation is terminated.intbooleanbooleanbooleanisDebug()booleanbooleanIndicates whether the validator is configured to record passed checks.voidsetDefaultFlavour(PDFAFlavour defaultFlavour) voidsetFlavour(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
PDFAFlavourthat 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()
-