Class AbstractProcessExecutor
java.lang.Object
eu.europa.esig.dss.validation.executor.AbstractProcessExecutor
- Direct Known Subclasses:
DefaultCertificateProcessExecutor
,DefaultSignatureProcessExecutor
Abstract validation process executor
-
Field Summary
Modifier and TypeFieldDescriptionprotected Date
Validation timeprotected XmlDiagnosticData
DiagnosticDataprotected ValidationPolicy
Validation policy -
Constructor Summary
ModifierConstructorDescriptionprotected
Default constructor instantiating object with null values and current time -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Checks if the configuration validGets the validation timeprotected I18nProvider
Gets the i18nProviderGets the validation policyvoid
setCurrentTime
(Date currentTime) Sets the validation timevoid
setDiagnosticData
(XmlDiagnosticData diagnosticData) Sets the DiagnosticDatavoid
Sets the locale to use to generate messagesvoid
setValidationPolicy
(ValidationPolicy validationPolicy) Sets the validation policy
-
Field Details
-
currentTime
Validation time -
policy
Validation policy -
jaxbDiagnosticData
DiagnosticData
-
-
Constructor Details
-
AbstractProcessExecutor
protected AbstractProcessExecutor()Default constructor instantiating object with null values and current time
-
-
Method Details
-
setCurrentTime
Sets the validation time- Parameters:
currentTime
-Date
-
getCurrentTime
Gets the validation time- Returns:
Date
-
setDiagnosticData
Sets the DiagnosticData- Parameters:
diagnosticData
-XmlDiagnosticData
-
getValidationPolicy
Gets the validation policy- Returns:
ValidationPolicy
-
setValidationPolicy
Sets the validation policy- Parameters:
validationPolicy
-ValidationPolicy
-
setLocale
Sets the locale to use to generate messages- Parameters:
locale
-Locale
-
getI18nProvider
Gets the i18nProvider- Returns:
I18nProvider
-
assertConfigurationValid
protected void assertConfigurationValid()Checks if the configuration valid
-