public Map<String, VersionDefinitionXml> getVersionDefinitions() {
    ensureVersionDefinitions();

    return versionDefinitions;
  }
@return the version definitions found for stacks
ambari-server/src/main/java/org/apache/ambari/server/api/services/AmbariMetaInfo.java