Class LDIFImportResult

    • Constructor Detail

      • LDIFImportResult

        public LDIFImportResult​(long entriesRead,
                                long entriesRejected,
                                long entriesSkipped)
        Creates a new LDIF import result object with the provided information.
        Parameters:
        entriesRead - The total number of entries read during the import, including those that were later rejected or skipped.
        entriesRejected - The total number of entries rejected during the import.
        entriesSkipped - The total number of entries skipped during the import.
    • Method Detail

      • getEntriesRead

        public long getEntriesRead()
        Retrieves the total number of entries read during the import, including those that were later rejected or skipped.
        Returns:
        The total number of entries read during the import, including those that were later rejected or skipped.
      • getEntriesImported

        public long getEntriesImported()
        Retrieves the total number of entries that were successfully imported.
        Returns:
        The total number of entries that were successfully imported.
      • getEntriesRejected

        public long getEntriesRejected()
        Retrieves the total number of entries rejected during the import.
        Returns:
        The total number of entries rejected during the import.
      • getEntriesSkipped

        public long getEntriesSkipped()
        Retrieves the total number of entries skipped during the import.
        Returns:
        The total number of entries skipped during the import.
      • toString

        public String toString()
        Retrieves a string representation of this LDIF import result object.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this LDIF import result object.