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

@return map of upgrade pack name to upgrade pack or {@code null} if no packs
ambari-server/src/main/java/org/apache/ambari/server/state/StackInfo.java