Class SolrIndexer.IndexationResult
- java.lang.Object
 - 
- org.ametys.cms.content.indexing.solr.SolrIndexer.IndexationResult
 
 
- 
- Enclosing class:
 - SolrIndexer
 
class SolrIndexer.IndexationResult extends Object
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected int_errorCountprotected int_successCount 
- 
Constructor Summary
Constructors Constructor Description IndexationResult()ConstructorIndexationResult(int successCount, int errorCount)Constructor 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetErrorCount()Get the errorCount.intgetSuccessCount()Get the successCount.booleanhasErrors()Test if the indexation had errors.voidsetErrorCount(int errorCount)Set the errorCount.voidsetSuccessCount(int successCount)Set the successCount. 
 - 
 
- 
- 
Field Detail
- 
_successCount
protected int _successCount
 
- 
_errorCount
protected int _errorCount
 
 - 
 
- 
Constructor Detail
- 
IndexationResult
public IndexationResult()
Constructor 
- 
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
 
 - 
 
 -