Package eu.europa.esig.dss.tsl.runnable
Class AbstractRunnableAnalysis
java.lang.Object
eu.europa.esig.dss.tsl.runnable.AbstractAnalysis
eu.europa.esig.dss.tsl.runnable.AbstractRunnableAnalysis
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
LOTLAnalysis
,TLAnalysis
Runnable facade to Processes the LOTL/TL validation job (download - parse - validate)
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractRunnableAnalysis
(TLSource source, CacheAccessByKey cacheAccess, DSSFileLoader dssFileLoader, CountDownLatch latch) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Performs analysisprotected CertificateSource
Returns the certificate source to be used to validate TL/LOTLvoid
run()
Methods inherited from class eu.europa.esig.dss.tsl.runnable.AbstractAnalysis
download, expireCache, getCacheAccessByKey, getParsingTask, getSource, getValidationTask, parsing, validation
-
Constructor Details
-
AbstractRunnableAnalysis
protected AbstractRunnableAnalysis(TLSource source, CacheAccessByKey cacheAccess, DSSFileLoader dssFileLoader, CountDownLatch latch) Default constructor- Parameters:
source
-TLSource
representing a TL or LOTLcacheAccess
-CacheAccessByKey
dssFileLoader
-DSSFileLoader
latch
-CountDownLatch
-
-
Method Details
-
doAnalyze
protected void doAnalyze()Performs analysis -
getCurrentCertificateSource
Returns the certificate source to be used to validate TL/LOTL- Returns:
CertificateSource
-
run
public void run()
-