public static ProcessorConfig mergeProcessorConfigs(ProcessorConfig ... processorConfigs) {
    """
	Merge in another processor configuration, with a lower priority. I.e. the latter a config is
	in the argument list, the less priority it has. This means:
	
	<ul>
	<li>A configuration earlier in the list overrides configuration later</li>
	<li>Includes and exclude earlier in the list take precedence of the includes/excludes later in the list</li>
	</ul>
	
	@param processorConfigs configs to merge into the current config
	@return a merged configuration for convenience of chaining and returning. This is a new object and can e.g.
    """
        // Merge the configuration
        Map<String, TreeMap> configs = mergeConfig(processorConfigs);

        // Get all includes
        Set<String> excludes = mergeExcludes(processorConfigs);

        // Find the set of includes, which are the ones from the profile + the ones configured
        List<String> includes = mergeIncludes(processorConfigs);

        return new ProcessorConfig(includes, excludes, configs);
    }
public static ProcessorConfig mergeProcessorConfigs(ProcessorConfig ... processorConfigs) {
        // Merge the configuration
        Map<String, TreeMap> configs = mergeConfig(processorConfigs);

        // Get all includes
        Set<String> excludes = mergeExcludes(processorConfigs);

        // Find the set of includes, which are the ones from the profile + the ones configured
        List<String> includes = mergeIncludes(processorConfigs);

        return new ProcessorConfig(includes, excludes, configs);
    }
public static ProcessorConfig mergeProcessorConfigs ( ProcessorConfig ... processorConfigs ) { // Merge the configuration Map < String , TreeMap > configs = mergeConfig ( processorConfigs ) ; // Get all includes Set < String > excludes = mergeExcludes ( processorConfigs ) ; // Find the set of includes, which are the ones from the profile + the ones configured List < String > includes = mergeIncludes ( processorConfigs ) ; return new ProcessorConfig ( includes , excludes , configs ) ; }
Merge in another processor configuration, with a lower priority. I.e. the latter a config is
in the argument list, the less priority it has. This means:

<ul>
<li>A configuration earlier in the list overrides configuration later</li>
<li>Includes and exclude earlier in the list take precedence of the includes/excludes later in the list</li>
</ul>

@param processorConfigs configs to merge into the current config
@return a merged configuration for convenience of chaining and returning. This is a new object and can e.g.
Merge in another processor configuration with a lower priority . I . e . the latter a config is in the argument list the less priority it has . This means :