code: private static List<ConfigFile> createConfigFiles(File featurePackFile, List<org.wildfly.build.common.model.ConfigFile> configFiles, ConfigOverride configOverride, Map<String, ConfigFileOverride> configFileOverrides) {
          final List<ConfigFile> result = new ArrayList<>();
          if (configOverride != null) {
              if (configFileOverrides != null && !configFileOverrides.isEmpty()) {
                  for (org.wildfly.build.common.model.ConfigFile featurePackConfigFile : configFiles) {
                      ConfigFileOverride configFileOverride = configFileOverrides.get(featurePackConfigFile.getOutputFile());
                      if (configFileOverride != null) {
                          result.add(new ConfigFile(featurePackFile, featurePackConfigFile, configFileOverride));
                      }
                  }
              }
          } else {
              for (org.wildfly.build.common.model.ConfigFile featurePackConfigFile : configFiles) {
                  result.add(new ConfigFile(featurePackFile, featurePackConfigFile, null));
              }
          }
          return result;
      }
docs: Creates a provisioning config file for each {@link org.wildfly.build.common.model.ConfigFile} provided.
  @param featurePackFile
  @param configFiles
  @param configOverride
  @param configFileOverrides
  @return