Interface ProcessExecutor<R extends AbstractReports>
- Type Parameters:
R
- implementation of reports wrapper
- 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 TypeMethodDescriptionexecute()
This method allows to run the validation process.Returns the validation timeDate
This method returns the usedValidationPolicy
void
setCurrentTime
(Date currentDate) This method allows to set theDate
that is used during the validation process execution.void
setDiagnosticData
(XmlDiagnosticData diagnosticData) This method allows to set theXmlDiagnosticData
that is used during the validation process execution.void
Allows to set a language setting for generated Reportsvoid
setValidationPolicy
(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 theDate
that is used during the validation process execution.- Parameters:
currentDate
- the current time
-
getCurrentTime
Date getCurrentTime()Returns the validation timeDate
- Returns:
Date
-
setDiagnosticData
This method allows to set theXmlDiagnosticData
that 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()This method returns the usedValidationPolicy
- Returns:
- the used validation policy
-
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
-