Package de.xima.fc.certificate.mgmt.io
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:
- 8.5.0
- Author:
- tobias
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFileImportResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FileImportResult.Builderbuilder()booleanequals(Object o)Set<CertificateBaseData>getCreatedCertificates()Set of certificates that were created during the import process.List<FileImportError>getErrors()Set of errors that occurred during the import process.Set<Long>getImportedCertificateIds()Set of IDs of certificates that were imported.intgetImportedCertificates()Number of certificates that were successfully imported.intgetImportedKeyPairs()Number of key pairs that were successfully imported.intgetSkippedCertificates()Number of certificates that were skipped during the import process.intgetSkippedKeyPairs()Number of key pairs that were skipped during the import process.Set<CertificateBaseData>getUpdatedCertificates()Set of certificates that were updated during the import process.inthashCode()StringtoString()
-
-
-
Method Detail
-
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.
-
-