public class CatalogEntrySubTypeIndexing
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
CatalogEntrySubTypeIndexing(java.lang.Long masterCatalogId,
boolean fullBuild,
java.lang.String configPath,
java.lang.String indexSubType)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getJobSummary()
Returns the job summary.
|
java.lang.Throwable |
getThrowable()
Returns the exception from prior execution.
|
void |
run()
This method will invoke the data pre-process and the data import handler
to index catalog entry cores.
|
void |
setSource(com.ibm.commerce.foundation.dataimport.process.DataImportProcessConstants.IndexingSource source)
Set the invoking source of buildindex
|
void |
setValidateIndexAfterBuild(java.lang.String validate)
Sets the validating index after building flag.
|
public CatalogEntrySubTypeIndexing(java.lang.Long masterCatalogId, boolean fullBuild, java.lang.String configPath, java.lang.String indexSubType)
masterCatalogId
- The master catalog Id.fullBuild
- The flag to indicate if it is a full index build.
true
: full index build. false
: the
delta index update.configPath
- The configuration directory which contains the configuration
files for data pre-preocess.indexSubType
- The indexSubType which needs to be indexedpublic void run()
run
in interface java.lang.Runnable
public void setSource(com.ibm.commerce.foundation.dataimport.process.DataImportProcessConstants.IndexingSource source)
source
- The source type to indicate where the index build from.public void setValidateIndexAfterBuild(java.lang.String validate)
validate
- The flag to indicate if to validate the index after building.public java.lang.Throwable getThrowable()
public java.util.List<java.lang.String> getJobSummary()