Package eu.europa.esig.dss.spi.tsl
Class TLValidationJobSummary
java.lang.Object
eu.europa.esig.dss.spi.tsl.TLValidationJobSummary
public class TLValidationJobSummary extends Object
Computes summary for TLValidationJob
-
Constructor Summary
Constructors Constructor Description TLValidationJobSummary(List<LOTLInfo> lotlInfos, List<TLInfo> otherTLInfos)The default constructor -
Method Summary
Modifier and Type Method Description LOTLInfogetLOTLInfoById(Identifier identifier)Returns a LOTLInfo object by IdentifierList<LOTLInfo>getLOTLInfos()Returns a list of LOTLInfos for all processed LOTLsintgetNumberOfProcessedLOTLs()Returns an amount of processed LOTLs during the TL Validation jobintgetNumberOfProcessedTLs()Returns an amount of processed TLs during the TL Validation jobList<TLInfo>getOtherTLInfos()Returns a list of TLInfos for other TLsTLInfogetTLInfoById(Identifier identifier)Returns a TLInfo object by Identifier
-
Constructor Details
-
TLValidationJobSummary
The default constructor- Parameters:
lotlInfos- a list of LOTL infootherTLInfos- a list of other trusted lists which are not linked to the LOTLs
-
-
Method Details
-
getLOTLInfos
Returns a list of LOTLInfos for all processed LOTLs- Returns:
- list of
LOTLInfos
-
getOtherTLInfos
Returns a list of TLInfos for other TLs- Returns:
- list of
TLInfos
-
getNumberOfProcessedTLs
public int getNumberOfProcessedTLs()Returns an amount of processed TLs during the TL Validation job- Returns:
intnumber of processed TLs
-
getNumberOfProcessedLOTLs
public int getNumberOfProcessedLOTLs()Returns an amount of processed LOTLs during the TL Validation job- Returns:
intnumber of processed LOTLs
-
getTLInfoById
Returns a TLInfo object by Identifier- Parameters:
identifier- the Identifier of the searched TL- Returns:
- a TLInfo or null
-
getLOTLInfoById
Returns a LOTLInfo object by Identifier- Parameters:
identifier- the Identifier of the searched LOTL- Returns:
- a LOTLInfo or null
-