Class SolrIndexer.IndexationResult

    • Constructor Detail

      • IndexationResult

        public IndexationResult​(int successCount,
                                int errorCount)
        Constructor
        Parameters:
        successCount - The success count.
        errorCount - The error count.
    • Method Detail

      • getSuccessCount

        public int getSuccessCount()
        Get the successCount.
        Returns:
        the successCount
      • setSuccessCount

        public void setSuccessCount​(int successCount)
        Set the successCount.
        Parameters:
        successCount - the successCount to set
      • hasErrors

        public boolean hasErrors()
        Test if the indexation had errors.
        Returns:
        true if the indexation had errors, false otherwise.
      • getErrorCount

        public int getErrorCount()
        Get the errorCount.
        Returns:
        the errorCount
      • setErrorCount

        public void setErrorCount​(int errorCount)
        Set the errorCount.
        Parameters:
        errorCount - the errorCount to set