public Collection<VersionDefinitionXml> getVersionDefinitions() {
    return versionDefinitions.values();
  }
@return the list of available definitions on this stack
ambari-server/src/main/java/org/apache/ambari/server/state/StackInfo.java