lib/Core.class.js
/**
     * Configure a processor using this method.
     *
     * @param {string} name
     * @param {Object} configuration
     * @returns {Processor}
     * @throws Error when processor was not found or instance could not be created
     */
Configure a processor using this method.
@param {string} name
@param {Object} configuration
@returns {Processor}
@throws Error when processor was not found or instance could not be created
Configure a processor using this method . @param { string } name @param { Object } configuration @returns { Processor } @throws Error when processor was not found or instance could not be created
configureProcessor(name, configuration) {
        try {
            let processor = Plugins.getInstance(name, 'processor');
            processor.configuration = configuration;
            return processor;
        } catch (e) {
            return Plugins.createInstance(configuration.type, name, configuration);
        }
    }
configureProcessor ( name , configuration ) { try { let processor = Plugins . getInstance ( name , 'processor' ) ; processor . configuration = configuration ; return processor ; } catch ( e ) { return Plugins . createInstance ( configuration . type , name , configuration ) ; } }
Configure a processor using this method.
Configure a processor using this method .