Interface ProcessExecutor<R extends AbstractReports>
- All Known Subinterfaces:
CertificateProcessExecutor,DocumentProcessExecutor
- All Known Implementing Classes:
DefaultCertificateProcessExecutor,DefaultSignatureProcessExecutor
public interface ProcessExecutor<R extends AbstractReports>
This interface allows to define how the validation process should be carried out.
-
Method Summary
Modifier and Type Method Description Rexecute()This method allows to run the validation process.DategetCurrentTime()Returns the validation timeDateValidationPolicygetValidationPolicy()voidsetCurrentTime(Date currentDate)This method allows to set theDatethat is used during the validation process execution.voidsetDiagnosticData(XmlDiagnosticData diagnosticData)This method allows to set theXmlDiagnosticDatathat is used during the validation process execution.voidsetLocale(Locale locale)Allows to set a language setting for generated ReportsvoidsetValidationPolicy(ValidationPolicy validationPolicy)This method allows to set the validation policy that is used during the validation process execution.
-
Method Details
-
setCurrentTime
This method allows to set theDatethat is used during the validation process execution.- Parameters:
currentDate- the current time
-
setDiagnosticData
This method allows to set theXmlDiagnosticDatathat is used during the validation process execution.- Parameters:
diagnosticData- the JAXB diagnostic data
-
setValidationPolicy
This method allows to set the validation policy that is used during the validation process execution.- Parameters:
validationPolicy- the representation of the validation policy.
-
getValidationPolicy
ValidationPolicy getValidationPolicy() -
getCurrentTime
Date getCurrentTime()Returns the validation timeDate- Returns:
Date
-
setLocale
Allows to set a language setting for generated Reports- Parameters:
locale-Locale
-
execute
R execute()This method allows to run the validation process.- Returns:
- the
Reports
-