public Map<String, UpgradePack> getUpgradePacks() {
    return upgradePacks;
  }
Obtain a map of all upgrade packs.

@return map of upgrade pack name to upgrade pack or null if no packs available
ambari-server/src/main/java/org/apache/ambari/server/stack/StackDirectory.java