public static ProcessorConfig blendProfileWithConfiguration ( ProcessorConfigurationExtractor configExtractor , String profile , File resourceDir , ProcessorConfig config ) throws IOException { // Get specified profile or the default profile ProcessorConfig profileConfig = extractProcesssorConfiguration ( configExtractor , profile , resourceDir ) ; return ProcessorConfig . mergeProcessorConfigs ( config , profileConfig ) ; }
Find an enricher or generator config possibly via a profile and merge it with a given configuration .