Class AbstractDetailedReportBuilder
java.lang.Object
eu.europa.esig.dss.validation.executor.AbstractDetailedReportBuilder
- Direct Known Subclasses:
DetailedReportBuilder
,DetailedReportForCertificateBuilder
Abstract code for DetailedReport builder
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Date
The validation timeprotected final DiagnosticData
The DiagnosticData to useprotected final I18nProvider
The i18n providerprotected final ValidationPolicy
The validation policy -
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractDetailedReportBuilder
(I18nProvider i18nProvider, Date currentTime, ValidationPolicy policy, DiagnosticData diagnosticData) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected List
<XmlTLAnalysis> executeAllTlAnalysis
(DiagnosticData diagnosticData, ValidationPolicy policy, Date currentTime) Executes the TL analysisprotected XmlDetailedReport
init()
Initializes theXmlDetailedReport
by adding the TL analysisprotected void
process
(Collection<? extends AbstractTokenProxy> tokensToProcess, Context context, Map<String, XmlBasicBuildingBlocks> bbbs) Process the tokens validation
-
Field Details
-
i18nProvider
The i18n provider -
diagnosticData
The DiagnosticData to use -
policy
The validation policy -
currentTime
The validation time
-
-
Constructor Details
-
AbstractDetailedReportBuilder
protected AbstractDetailedReportBuilder(I18nProvider i18nProvider, Date currentTime, ValidationPolicy policy, DiagnosticData diagnosticData) Default constructor- Parameters:
i18nProvider
-I18nProvider
currentTime
-Date
validation timepolicy
-ValidationPolicy
to usediagnosticData
-DiagnosticData
-
-
Method Details
-
init
Initializes theXmlDetailedReport
by adding the TL analysis- Returns:
XmlDetailedReport
-
executeAllTlAnalysis
protected List<XmlTLAnalysis> executeAllTlAnalysis(DiagnosticData diagnosticData, ValidationPolicy policy, Date currentTime) Executes the TL analysis- Parameters:
diagnosticData
-DiagnosticData
policy
-ValidationPolicy
currentTime
-Date
validation time- Returns:
- a list of
XmlTLAnalysis
-
process
protected void process(Collection<? extends AbstractTokenProxy> tokensToProcess, Context context, Map<String, XmlBasicBuildingBlocks> bbbs) Process the tokens validation- Parameters:
tokensToProcess
- collection of tokens to validatecontext
-Context
validation contextbbbs
- map of BasicBuildingBlocks
-