Class ConfigPropertyImportProcessor

java.lang.Object
de.hybris.platform.ruleengineservices.impex.impl.ConfigPropertyImportProcessor
All Implemented Interfaces:
ImportProcessor

public class ConfigPropertyImportProcessor extends Object implements ImportProcessor
Impex ImportProcessor that injects all config properties as impex definitions. All defined configuration properties are added as impex macro definitions with the prefix of "config-". For example the config key mail.smtp.server can be accessed via the macro $config-mail.smtp.server. In order to use this import processor and to load the configuration properties the following must be added to the top of the impex file: UPDATE GenericItem[processor=de.hybris.platform.ruleengineservices.impex.impl.ConfigPropertyImportProcessor];pk[unique=true]