public void addVersionDefinition(String key, VersionDefinitionXml xml) {
    versionDefinitions.put(key, xml);
  }
@param key the version that the xml represents
@param xml the version definition object
ambari-server/src/main/java/org/apache/ambari/server/state/StackInfo.java