Package eu.europa.esig.dss.tsl.runnable
Class PivotProcessing
java.lang.Object
eu.europa.esig.dss.tsl.runnable.AbstractAnalysis
eu.europa.esig.dss.tsl.runnable.PivotProcessing
- All Implemented Interfaces:
Callable<PivotProcessingResult>
Processes a pivot analysis
-
Constructor Summary
ConstructorDescriptionPivotProcessing
(LOTLSource pivotSource, CacheAccessByKey pivotCacheAccess, CacheAccessByKey lotlCacheAccess, DSSFileLoader dssFileLoader) Default constructor -
Method Summary
Modifier and TypeMethodDescriptioncall()
protected void
This method expires the cache in order to trigger the corresponding tasks on refreshprotected AbstractParsingTask<?>
getParsingTask
(DSSDocument document) Returns the corresponding parsing task for the source on the given documentMethods inherited from class eu.europa.esig.dss.tsl.runnable.AbstractAnalysis
download, getCacheAccessByKey, getSource, getValidationTask, parsing, validation
-
Constructor Details
-
PivotProcessing
public PivotProcessing(LOTLSource pivotSource, CacheAccessByKey pivotCacheAccess, CacheAccessByKey lotlCacheAccess, DSSFileLoader dssFileLoader) Default constructor- Parameters:
pivotSource
-LOTLSource
pivot sourcepivotCacheAccess
-CacheAccessByKey
cache access of the current Pivot to processlotlCacheAccess
-CacheAccessByKey
cache access of the corresponding LOTLdssFileLoader
-DSSFileLoader
-
-
Method Details
-
call
- Specified by:
call
in interfaceCallable<PivotProcessingResult>
- Throws:
Exception
-
getParsingTask
Description copied from class:AbstractAnalysis
Returns the corresponding parsing task for the source on the given document- Specified by:
getParsingTask
in classAbstractAnalysis
- Parameters:
document
-DSSDocument
to parse- Returns:
AbstractParsingTask
to be executed
-
expireCache
protected void expireCache()Description copied from class:AbstractAnalysis
This method expires the cache in order to trigger the corresponding tasks on refresh- Overrides:
expireCache
in classAbstractAnalysis
-