com.ibm.commerce.foundation.dataimport.preprocess.config

Class DataImportPreProcessConfig

  • java.lang.Object
    • com.ibm.commerce.foundation.dataimport.preprocess.config.DataImportPreProcessConfig


  • public class DataImportPreProcessConfig
    extends java.lang.Object
    This class parses the wc-dataimport-preprocessXXX.xml files. The configuration stores in the inner classes of this class.
    • Field Detail

      • TAG_INDEX_SCOPE_PLACE_HOLDER

        public static final java.lang.String TAG_INDEX_SCOPE_PLACE_HOLDER
        See Also:
        Constant Field Values
      • TAG_INDEX_SCOPE_LANG_TAG

        public static final java.lang.String TAG_INDEX_SCOPE_LANG_TAG
        See Also:
        Constant Field Values
      • UNDERSCORE_LANG_TAG_UNDERSCORE

        public static final java.lang.String UNDERSCORE_LANG_TAG_UNDERSCORE
        See Also:
        Constant Field Values
    • Constructor Detail

      • DataImportPreProcessConfig

        public DataImportPreProcessConfig()
    • Method Detail

      • setShardName

        public void setShardName(java.lang.String shardName)
        Parameters:
        shardName -
      • getFileName

        public java.lang.String getFileName()
        Returns the configuration file name of this object represented for.
        Returns:
        The name of the configuration file.
      • setIndexScopeTag

        public void setIndexScopeTag(java.lang.Long indexScopeTag)
        Parameters:
        indexScopeTag -
      • setMasterCatalogId

        public void setMasterCatalogId(java.lang.Long masterCatalogId)
        Parameters:
        masterCatalogId -
      • setPropertyFile

        public void setPropertyFile(java.io.File propertyFile)
        Parameters:
        propertyFile -
      • parseFile

        public void parseFile(java.io.File configFile,
                              java.lang.String xsdFileName)
                       throws com.ibm.commerce.foundation.dataimport.exception.DataImportApplicationException
        parses the specified configuration file.
        Parameters:
        configFile - The data import pre-processing configuration file.
        xsdFileName - The xml Schema file.
        Throws:
        com.ibm.commerce.foundation.dataimport.exception.DataImportApplicationException - A data import application exception will be thrown when the specified processor could not be found.
      • getDataProcessiongConfigs

        public java.util.List<DataImportPreProcessConfig.DataProcessingConfig> getDataProcessiongConfigs()
        Returns a list of the data processing configurations.
        Returns:
        The list of the data processing configurations.