Interface ProcessExecutor<R extends AbstractReports>

Type Parameters:
R - implementation of reports wrapper
All Known Subinterfaces:
CertificateProcessExecutor, DocumentProcessExecutor
All Known Implementing Classes:
DefaultCertificateProcessExecutor, DefaultSignatureProcessExecutor, QWACCertificateProcessExecutor

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
    This method allows to run the validation process.
    Returns the validation time Date
    eu.europa.esig.dss.model.policy.ValidationPolicy
    This method returns the used ValidationPolicy
    void
    setCurrentTime(Date currentDate)
    This method allows to set the Date that is used during the validation process execution.
    void
    setDiagnosticData(eu.europa.esig.dss.diagnostic.jaxb.XmlDiagnosticData diagnosticData)
    This method allows to set the XmlDiagnosticData that is used during the validation process execution.
    void
    setLocale(Locale locale)
    Allows to set a language setting for generated Reports
    void
    setValidationPolicy(eu.europa.esig.dss.model.policy.ValidationPolicy validationPolicy)
    This method allows to set the validation policy that is used during the validation process execution.
  • Method Details

    • setCurrentTime

      void setCurrentTime(Date currentDate)
      This method allows to set the Date that is used during the validation process execution.
      Parameters:
      currentDate - the current time
    • getCurrentTime

      Date getCurrentTime()
      Returns the validation time Date
      Returns:
      Date
    • setDiagnosticData

      void setDiagnosticData(eu.europa.esig.dss.diagnostic.jaxb.XmlDiagnosticData diagnosticData)
      This method allows to set the XmlDiagnosticData that is used during the validation process execution.
      Parameters:
      diagnosticData - the JAXB diagnostic data
    • setValidationPolicy

      void setValidationPolicy(eu.europa.esig.dss.model.policy.ValidationPolicy validationPolicy)
      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

      eu.europa.esig.dss.model.policy.ValidationPolicy getValidationPolicy()
      This method returns the used ValidationPolicy
      Returns:
      the used validation policy
    • setLocale

      void setLocale(Locale locale)
      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