stagesupport/src/main/java/com/streamsets/pipeline/config/upgrade/UpgraderUtils.java
public static int moveAllTo(List<Config> configs, String... names) {
    Map<String, String> nameMap = new HashMap<>();
    if (names.length % 2 == 1) {
      throw new IllegalArgumentException("names was of uneven length");
    }
    for (int i=0; i<names.length; ) {
      nameMap.put(names[i], names[i+1]);
      i+=2;
    }
    return moveAllTo(configs, nameMap);
  }
public static int moveAllTo(List<Config> configs, String... names) {
    Map<String, String> nameMap = new HashMap<>();
    if (names.length % 2 == 1) {
      throw new IllegalArgumentException("names was of uneven length");
    }
    for (int i=0; i<names.length; ) {
      nameMap.put(names[i], names[i+1]);
      i+=2;
    }
    return moveAllTo(configs, nameMap);
  }
<p>
Move a series of config values from old names to new names (one to one correspondence).  Config values will be
preserved.
</p>

@param configs list of config objects (will be modified)
@param names mapping of old to new names, in the form of [oldName1, newName1, oldName2, newName2, ...]
@return