Class TLValidationJobSummary

java.lang.Object
eu.europa.esig.dss.spi.tsl.TLValidationJobSummary
All Implemented Interfaces:
Serializable

public class TLValidationJobSummary extends Object implements Serializable
Computes summary for TLValidationJob
See Also:
  • Constructor Details

    • TLValidationJobSummary

      public TLValidationJobSummary(List<LOTLInfo> lotlInfos, List<TLInfo> otherTLInfos)
      The default constructor
      Parameters:
      lotlInfos - a list of LOTL info
      otherTLInfos - a list of other trusted lists which are not linked to the LOTLs
  • Method Details

    • getLOTLInfos

      public List<LOTLInfo> getLOTLInfos()
      Returns a list of LOTLInfos for all processed LOTLs
      Returns:
      list of LOTLInfos
    • getOtherTLInfos

      public List<TLInfo> 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:
      int number of processed TLs
    • getNumberOfProcessedLOTLs

      public int getNumberOfProcessedLOTLs()
      Returns an amount of processed LOTLs during the TL Validation job
      Returns:
      int number of processed LOTLs
    • getTLInfoById

      public TLInfo getTLInfoById(Identifier identifier)
      Returns a TLInfo object by Identifier
      Parameters:
      identifier - the Identifier of the searched TL
      Returns:
      a TLInfo or null
    • getLOTLInfoById

      public LOTLInfo getLOTLInfoById(Identifier identifier)
      Returns a LOTLInfo object by Identifier
      Parameters:
      identifier - the Identifier of the searched LOTL
      Returns:
      a LOTLInfo or null