Class FileImportResult

java.lang.Object
de.xima.fc.certificate.mgmt.io.FileImportResult
All Implemented Interfaces:
Serializable

public final class FileImportResult extends Object implements Serializable
The result of a file import operation, containing details about imported certificates, key pairs, and any errors encountered.
Since:
25.03.25
Author:
tobias
See Also:
  • Method Details

    • builder

      public static FileImportResult.Builder builder()
    • getImportedCertificateIds

      public Set<Long> getImportedCertificateIds()
      Set of IDs of certificates that were imported.
    • getCreatedCertificates

      public Set<CertificateBaseData> getCreatedCertificates()
      Set of certificates that were created during the import process.
    • getUpdatedCertificates

      public Set<CertificateBaseData> getUpdatedCertificates()
      Set of certificates that were updated during the import process.
    • getImportedCertificates

      public int getImportedCertificates()
      Number of certificates that were successfully imported.
    • getSkippedCertificates

      public int getSkippedCertificates()
      Number of certificates that were skipped during the import process.
    • getImportedKeyPairs

      public int getImportedKeyPairs()
      Number of key pairs that were successfully imported.
    • getSkippedKeyPairs

      public int getSkippedKeyPairs()
      Number of key pairs that were skipped during the import process.
    • getErrors

      public List<FileImportError> getErrors()
      Set of errors that occurred during the import process.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object