class SolrIndexer.IndexationResult extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
_errorCount |
protected int |
_successCount |
Constructor and Description |
---|
IndexationResult()
Constructor
|
IndexationResult(int successCount,
int errorCount)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCount()
Get the errorCount.
|
int |
getSuccessCount()
Get the successCount.
|
boolean |
hasErrors()
Test if the indexation had errors.
|
void |
setErrorCount(int errorCount)
Set the errorCount.
|
void |
setSuccessCount(int successCount)
Set the successCount.
|
protected int _successCount
protected int _errorCount
public IndexationResult()
public IndexationResult(int successCount, int errorCount)
successCount
- The success count.errorCount
- The error count.public int getSuccessCount()
public void setSuccessCount(int successCount)
successCount
- the successCount to setpublic boolean hasErrors()
public int getErrorCount()
public void setErrorCount(int errorCount)
errorCount
- the errorCount to set